Skip to content

Commit

Permalink
chore: reformat pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed May 15, 2024
1 parent 8e94d04 commit 2a1283f
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,11 @@ packages = [
]

[tool.ruff]
preview = true
target-version = "py38"
line-length = 88

[tool.ruff.lint]
select = [
preview = true
lint.select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
Expand All @@ -113,7 +112,16 @@ select = [
"UP", # pyupgrade
"W", # flake8
]
ignore = [
lint.per-file-ignores."pyshocks/__init__.py" = [
"FBT003",
]
lint.flake8-quotes.docstring-quotes = "double"
lint.flake8-quotes.inline-quotes = "double"
lint.flake8-quotes.multiline-quotes = "double"
lint.isort.known-first-party = [
"pyshocks",
]
lint.ignore = [
"E402", # module-import-not-at-top-of-file
"ISC001", # single-line-implicit-string-concatenation
"N803", # invalid-argument-name
Expand All @@ -135,21 +143,6 @@ ignore = [
"UP037", # quoted-annotation
]

[tool.ruff.lint.per-file-ignores]
"pyshocks/__init__.py" = [
"FBT003",
]

[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "double"
multiline-quotes = "double"

[tool.ruff.lint.isort]
known-first-party = [
"pyshocks",
]

[tool.mypy]
strict = true
hide_error_codes = false
Expand Down

0 comments on commit 2a1283f

Please sign in to comment.