Skip to content

Commit

Permalink
fix pyproject.toml ruff.lint section
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Ramsay <[email protected]>
  • Loading branch information
seapagan committed Mar 4, 2024
1 parent 4ca6858 commit ec78cfb
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -132,25 +132,24 @@ plugins.md046.enabled = false

[tool.ruff]
line-length = 80
lint.select = ["ALL"] # we are being very strict!
lint.ignore = [
src = ["py_maker"]
target-version = "py39" # minimum python version supported

[tool.ruff.format]
indent-style = "space"
quote-style = "double"

[tool.ruff.lint]
select = ["ALL"] # we are being very strict!
ignore = [
"ANN101",
"PGH003",
"FBT002",
"FBT003",
"B006",
] # These rules are too strict even for us 😝
lint.extend-ignore = [
"COM812",
"ISC001",
] # these are ignored for ruff formatting
extend-ignore = ["COM812", "ISC001"] # these are ignored for ruff formatting

src = ["py_maker"]
target-version = "py39" # minimum python version supported

[tool.ruff.format]
indent-style = "space"
quote-style = "double"

[tool.ruff.lint.pep8-naming]
classmethod-decorators = ["pydantic.validator", "pydantic.root_validator"]
Expand Down

0 comments on commit ec78cfb

Please sign in to comment.