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 ede0ae0 commit 27979deCopy full SHA for 27979de
pyproject.toml
@@ -51,7 +51,6 @@ exclude = [
51
"__pycache__",
52
"*.ipynb",
53
".ipynb_checkpoints",
54
- "tasks.py"
55
]
56
57
[tool.ruff.lint]
tasks.py
@@ -1,13 +1,17 @@
1
+"""Invoke task definitions."""
2
+
3
from invoke import task
4
5
6
@task
7
def lint(c):
- c.run("ruff check .")
- c.run("ruff format --check --diff .")
8
+ """Run lint checks using ruff."""
9
+ c.run('ruff check .')
10
+ c.run('ruff format --check --diff .')
11
12
13
14
def fix_lint(c):
- c.run("ruff check --fix .")
- c.run("ruff format .")
15
+ """Automatically fix lint issues using ruff."""
16
+ c.run('ruff check --fix .')
17
+ c.run('ruff format .')
0 commit comments