We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 798741f commit 60bb88cCopy full SHA for 60bb88c
pyproject.toml
@@ -49,7 +49,6 @@ exclude = [
49
"__pycache__",
50
"*.ipynb",
51
".ipynb_checkpoints",
52
- "tasks.py",
53
]
54
55
[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