diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 15:49:28 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 15:49:28 +0900 |
| commit | a7bd258820c1da25281d3d28760b0f9c38109721 (patch) | |
| tree | 8faa2b2d53b087a498d82fa839bcd7727912c707 /pyproject.toml | |
| parent | 13c939468ed0143e4a4f9ee1c0b847483dcd8199 (diff) | |
chore: enhance ruff lint rules with ASYNC, bugbear, isort, pyupgrade
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index 6938778..f6815da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,3 +12,14 @@ addopts = "--import-mode=importlib" [tool.ruff] target-version = "py312" line-length = 100 + +[tool.ruff.lint] +select = ["E", "W", "F", "I", "B", "UP", "ASYNC", "PERF", "C4", "RUF"] +ignore = ["E501"] + +[tool.ruff.lint.per-file-ignores] +"tests/*" = ["F841"] +"*/tests/*" = ["F841"] + +[tool.ruff.lint.isort] +known-first-party = ["shared"] |
