We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba143a9 commit fd76cfbCopy full SHA for fd76cfb
.github/workflows/ruff.yml
@@ -0,0 +1,12 @@
1
+name: Ruff
2
+on: [ push, pull_request ]
3
+jobs:
4
+ ruff:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v4
8
+ - uses: chartboost/ruff-action@v1
9
+ with:
10
+ version: 0.4.4
11
+ args: check
12
+ src: "./src"
pyproject.toml
@@ -94,7 +94,7 @@ lines-after-imports = 2
94
known-first-party = ["translation-agent"]
95
96
[tool.ruff.lint.per-file-ignores]
97
-"__init__.py" = ["E402"]
+"**/__init__.py" = ["E402", "F401"]
98
"**/{tests,docs,tools}/*" = ["E402"]
99
100
0 commit comments