Skip to content

Commit

Permalink
Merge pull request #1755 from braingram/make_ruff_happy
Browse files Browse the repository at this point in the history
update pyproject.toml for new ruff requirements
  • Loading branch information
braingram committed Feb 13, 2024
2 parents 80e4dbe + debb30d commit fcff366
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ exclude_lines = [
[tool.ruff]
target-version = "py38"
line-length = 120
extend-exclude = ["asdf/_extern/*", "asdf/_jsonschema/*", "docs/*"]

[tool.ruff.lint]
select = [
# minimal set to match pre-ruff behavior
"E", # pycodestyle
Expand All @@ -176,7 +179,6 @@ extend-ignore = [
"S310", # URL open for permitted schemes
"RUF012", # mutable-class-default (typing related)
]
extend-exclude = ["asdf/_extern/*", "asdf/_jsonschema/*", "docs/*"]

[tool.ruff.per-file-ignores]
"test_*.py" = ["S101"]
Expand Down

0 comments on commit fcff366

Please sign in to comment.