diff options
author | Jonathan de Jong <jonathandejong02@gmail.com> | 2020-09-17 22:45:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 16:45:22 -0400 |
commit | efb6b6629c78409251f61857f2bfe6c2f8f8fb8d (patch) | |
tree | 0d3d5385a4601152e35cc31de07d6e8d72b1d735 /CONTRIBUTING.md | |
parent | Remove obsolete __future__ imports (#8337) (diff) | |
download | synapse-efb6b6629c78409251f61857f2bfe6c2f8f8fb8d.tar.xz |
Move lint dependencies to extras_require (#8330)
Lint dependencies can now be installed with pip install -e ".[lint]" This should help keep the version in sync between tox and documentation.
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 062413e925..524f82433d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,9 +17,9 @@ https://help.github.com/articles/using-pull-requests/) to ask us to pull your changes into our repo. Some other points to follow: - + * Please base your changes on the `develop` branch. - + * Please follow the [code style requirements](#code-style). * Please include a [changelog entry](#changelog) with each PR. @@ -46,7 +46,7 @@ locally. You'll need python 3.6 or later, and to install a number of tools: ``` # Install the dependencies -pip install -U black flake8 flake8-comprehensions isort +pip install -e ".[lint]" # Run the linter script ./scripts-dev/lint.sh |