mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-20 23:04:07 -06:00
Revert replacement of flake8 with ruff
Start with reverting parts of commit 26be794
in #629 related to config
and CI jobs.
This commit is contained in:
parent
3cb3a20385
commit
57d2691713
4
.flake8
Normal file
4
.flake8
Normal file
@ -0,0 +1,4 @@
|
||||
[flake8]
|
||||
import-order-style = pep8
|
||||
application-import-names = yamllint
|
||||
ignore = W503,W504
|
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -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')
|
||||
|
@ -1,6 +0,0 @@
|
||||
[lint]
|
||||
extend-select = ["B", "I", "PGH", "TRY", "UP"]
|
||||
ignore = ["TRY003"]
|
||||
|
||||
[lint.isort]
|
||||
known-third-party = ["tests"]
|
@ -23,7 +23,7 @@ Pull Request Process
|
||||
|
||||
.. code:: bash
|
||||
|
||||
ruff .
|
||||
flake8 .
|
||||
|
||||
If you added/modified documentation:
|
||||
|
||||
|
@ -26,8 +26,9 @@ dynamic = ["version"]
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"doc8",
|
||||
"flake8",
|
||||
"flake8-import-order",
|
||||
"rstcheck[sphinx]",
|
||||
"ruff",
|
||||
"sphinx",
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user