Back to Great Expectations

Workflows

CONTRIBUTING_WORKFLOWS.md

1.17.11.4 KB
Original Source

Workflows

The Great Expectations code base has various places where you can contribute code to. This document describes several workflows you might want to run to get started.

First, make sure you have cloned the repository and installed the Python dependencies. Read more on this in Contribute a code change.

This code base provides following workflows:

Code Linting

Before submitting a pull request, make sure that your code passes the lint check, for that run:

sh
black .
ruff . --fix

Locally Deploy Docs

You can find more information on developing Great Expectation docs in /docs/docusaurus/README.md. To get a version of the docs deployed locally, run:

sh
invoke docs

The website should be available at:

sh
open http://localhost:3000/docs

We use a link checker tool to verify that links within our docs are valid, you can run it via:

sh
python3 docs/checks/docs_link_checker.py -p docs -r docs -s docs --skip-external

Generate Glossary

Generates a glossary page in our docs:

sh
python3 ./build_glossary_page.py