Skip to content

Commit

Permalink
fix: add ruff
Browse files Browse the repository at this point in the history
Add ruff to dev dependencies, along with an example config. At some
point in the future, we may want to switch to using it, rather than
pylint.
  • Loading branch information
apotterri committed Jul 23, 2024
1 parent 833b1d2 commit e1af996
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ htmlcov/

/.tox
/node_modules

/ruff.toml
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ pytest-env = "^1.1.3"
pytest-console-scripts = "^1.4.1"
pytest-xdist = "^3.6.1"
psutil = "^6.0.0"
ruff = "^0.5.3"

[build-system]
requires = ["poetry-core>=1.1.0"]
Expand Down
5 changes: 5 additions & 0 deletions ruff.toml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
line-length = 100
extend-exclude = ["sitecustomize.py"]

[lint.isort]
known-first-party = ['appmap', '_appmap']

0 comments on commit e1af996

Please sign in to comment.