Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 3, 2024
1 parent 2fedf3d commit f1adc4b
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,31 @@
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=41.2",
"setuptools_scm",
"setuptools-scm",
"wheel",
]

[tool.ruff]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"F", # flakes
"I", # import sorting
"T20", # flake8-print
"UP", # upgrade
]
target-version = "py38"
line-length = 79

[tool.ruff.per-file-ignores]
"docs/conf.py" = [
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"F", # flakes
"I", # import sorting
"T20", # flake8-print
"UP", # upgrade
]
per-file-ignores."docs/conf.py" = [
"A001",
]
"samples/example_by.py" = [
"T201",
per-file-ignores."samples/example_by.py" = [
"T201",
]
"samples/example_pdf_by.py" = [
"T201",
per-file-ignores."samples/example_pdf_by.py" = [
"T201",
]

[tool.interrogate]
Expand All @@ -38,7 +37,11 @@ ignore-semiprivate = false
ignore-private = false
ignore-module = false
fail-under = 70
exclude = ["setup.py", "docs", "tests"]
exclude = [
"setup.py",
"docs",
"tests",
]
verbose = 1
quiet = false
color = true

0 comments on commit f1adc4b

Please sign in to comment.