Skip to content

Commit

Permalink
Revert replacement of flake8 with ruff
Browse files Browse the repository at this point in the history
Start with reverting parts of commit 26be794 in adrienverge#629 related to config
and CI jobs.
  • Loading branch information
DimitriPapadopoulos committed Feb 1, 2024
1 parent 3cb3a20 commit 39ec88f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
import-order-style = pep8
application-import-names = yamllint
ignore = W503,W504
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
- run:
pip install ruff sphinx rstcheck[sphinx] doc8
pip install flake8 flake8-import-order sphinx rstcheck[sphinx] doc8
- run: pip install .
- run: ruff .
- run: flake8 .
- run: doc8 $(git ls-files '*.rst')
- run: rstcheck --ignore-directives automodule $(git ls-files '*.rst')
- run: yamllint --strict $(git ls-files '*.yaml' '*.yml')
Expand Down
6 changes: 0 additions & 6 deletions .ruff.toml

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Pull Request Process

.. code:: bash
ruff .
flake8 .
If you added/modified documentation:

Expand Down

0 comments on commit 39ec88f

Please sign in to comment.