diff --git a/.gitignore b/.gitignore index 274346f8..c6f0f746 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,4 @@ htmlcov/ /.tox /node_modules - +/ruff.toml \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index d2c18357..33a7be7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] diff --git a/ruff.toml.example b/ruff.toml.example new file mode 100644 index 00000000..ef74a1df --- /dev/null +++ b/ruff.toml.example @@ -0,0 +1,5 @@ +line-length = 100 +extend-exclude = ["sitecustomize.py"] + +[lint.isort] +known-first-party = ['appmap', '_appmap'] \ No newline at end of file