Skip to content

Commit

Permalink
Add AIR and FURB rulesets to Ruff config (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
psirenny authored Sep 6, 2024
1 parent 0eafe42 commit 9cd9abc
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 21 deletions.
5 changes: 5 additions & 0 deletions .changeset/chatty-insects-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spear-ai/ruff-config": major
---

Updated Ruff config‘s `ruff` dependency.
5 changes: 5 additions & 0 deletions .changeset/tricky-shirts-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spear-ai/ruff-config": major
---

Added `AIR` and `FURB` rulesets to Ruff config.
Binary file modified .yarn/install-state.gz
Binary file not shown.
39 changes: 20 additions & 19 deletions packages/ruff-config/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ruff-config/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repository = "https://github.com/spear-ai/citizen"

[tool.poetry.dependencies]
python = ">=3.10,<3.13"
ruff = "^0.3.7"
ruff = "^0.6.4"

[build-system]
build-backend = "poetry.core.masonry.api"
Expand Down
3 changes: 2 additions & 1 deletion packages/ruff-config/spear_ai_ruff_config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ignore = [
]
select = [
"A",
"AIR",
"ANN",
"ARG",
"ASYNC",
Expand All @@ -35,6 +36,7 @@ select = [
"FBT",
"FIX",
"FLY",
"FURB",
"G",
"I",
"ICN",
Expand Down Expand Up @@ -65,7 +67,6 @@ select = [
"TCH",
"TD",
"TID",
"TRIO",
"TRY",
"UP",
"W",
Expand Down

0 comments on commit 9cd9abc

Please sign in to comment.