Skip to content

Commit

Permalink
Merge pull request #723 from fizyk/ruff
Browse files Browse the repository at this point in the history
Use ruff instead of pycodestyle and pydocstyle - closes #690
  • Loading branch information
fizyk authored Oct 13, 2023
2 parents 55fbea3 + c050fa0 commit aa39bd9
Show file tree
Hide file tree
Showing 44 changed files with 219 additions and 762 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ jobs:
basic_linters:
uses: fizyk/actions-reuse/.github/workflows/linters-python.yml@v2.4.0
with:
pylint: true
black: true
pycodestyle: true
pydocstyle: true
ruff: true
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ velruse = "==1.1.1"
[dev-packages]
towncrier = "==23.6.0"
black = "==23.9.1"
pydocstyle = {version = "==6.3.0", extras = ["toml"]}
pycodestyle = "==2.11.0"
pylint = "==2.17.5"
pytest = "==7.4.1"
pytest-cov = "==4.1.0"
mock = "==5.1.0"
Expand All @@ -27,3 +24,4 @@ tbump = "==6.11.0"
pdbpp = "==0.10.3"
sphinx = {version = "==7.2.4", markers="python_version > '3.8'"}
psycopg = "==3.1.10"
ruff = "==0.0.292"
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os
import pathlib
import sys

# Add project's root to path.
p = pathlib.Path(os.getcwd())
Expand Down
1 change: 1 addition & 0 deletions newsfragments/690.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace pylint, pydocstyle and pycodestyle with ruff
Loading

0 comments on commit aa39bd9

Please sign in to comment.