Skip to content

Commit

Permalink
Move style requirements out from project.optional-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickinson committed Sep 14, 2022
1 parent 5f4673e commit 6681788
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-style.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3
- name: Install necessary Python packages
run: |
python -m pip install .[style]
python -m pip install -r style-requirements.txt
- name: Run style checks
run: |
python -m flake8
Expand Down
3 changes: 2 additions & 1 deletion DEVELOP.rst
Expand Up @@ -36,9 +36,10 @@ To run tests, do::

To run a style check::

python -m pip install ".[style]"
python -m pip install -r style-requirements.txt
python -m flake8
python -m isort . --check --diff
python -m isort docs/source/guide/examples --check --diff
python -m black . --check --diff

To build the documentation::
Expand Down
5 changes: 5 additions & 0 deletions style-requirements.txt
@@ -0,0 +1,5 @@
# Requirements for CI style checks
black
flake8
flake8-ets
isort

0 comments on commit 6681788

Please sign in to comment.