Skip to content

Commit

Permalink
Use ruff instead of pycodestyle, enable black again
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Oct 9, 2023
1 parent 217a90e commit ca3a175
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ jobs:
uses: fizyk/actions-reuse/.github/workflows/[email protected]
with:
mypy: true
pydocstyle: false
ruff: true
black: true
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ towncrier = "==23.6.0"
pytest = "==7.4.2"
pytest-cov = "==4.1.0"
coverage = "==7.3.2"
black = {version = "==23.9.1", markers="python_version >= '3.8'"}
pycodestyle = "==2.11.0"
black = "==23.9.1"
mypy = "==1.5.1"
tbump = "==6.11.0"
ruff = "==0.0.292"
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ line-length = 80
target-version = ['py38']
include = '.*\.pyi?$'

[tool.ruff]
line-length = 80
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"D", # pydocstyle
]


[tool.tbump]
# Uncomment this if your project is hosted on GitHub:
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

0 comments on commit ca3a175

Please sign in to comment.