Skip to content

Commit

Permalink
refactor: pre-commit.ci auto fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 5, 2024
1 parent 315a8cd commit d5be190
Showing 1 changed file with 46 additions and 51 deletions.
97 changes: 46 additions & 51 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ name = "Querpyable"
version = "3.0.0"
description = "A Python implementation of LINQ"
readme = "README.md"
authors = ["Vasilis Sioros <[email protected]>"]
authors = [ "Vasilis Sioros <[email protected]>" ]
license = "MIT"
homepage = "https://billsioros.github.io/querpyable"
repository = "https://github.com/billsioros/querpyable"
keywords = []
keywords = [ ]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand All @@ -34,7 +34,7 @@ mypy = "*"
black = "*"
pre-commit = "*"
poethepoet = "*"
coverage = { extras = ["toml"], version = "*" }
coverage = { extras = [ "toml" ], version = "*" }
pytest = "*"
pytest-cov = "*"
pytest-sugar = "*"
Expand All @@ -43,17 +43,45 @@ mkdocs = "*"
mkdocs-material = "*"
mkdocs-minify-plugin = "*"
mkdocs-redirects = "*"
mkdocstrings = { extras = ["python"], version = "*" }
mkdocstrings = { extras = [ "python" ], version = "*" }
mdx-truly-sane-lists = "*"
mike = "*"
ruff = "*"

[tool.black]
line-length = 99
target-version = ["py39"]
target-version = [ "py39" ]
skip-string-normalization = true

[tool.ruff]
target-version = "py39"

line-length = 99

exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"tests",
"venv",
]
select = [
"A",
"B",
Expand Down Expand Up @@ -100,7 +128,7 @@ select = [
"UP",
"YTT",
]
ignore = []
ignore = [ ]

fixable = [
"A",
Expand Down Expand Up @@ -148,59 +176,26 @@ fixable = [
"UP",
"YTT",
]
unfixable = []
unfixable = [ ]

exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"tests",
]
per-file-ignores = {}

line-length = 99

dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

target-version = "py39"

[tool.ruff.mccabe]
max-complexity = 10

[tool.ruff.pydocstyle]
convention = "google"

[tool.ruff.flake8-quotes]
docstring-quotes = "double"
mccabe.max-complexity = 10
flake8-quotes.docstring-quotes = "double"
pydocstyle.convention = "google"

[tool.isort]
profile = "black"
src_paths = ["src/querpyable", "tests"]
src_paths = [ "src/querpyable", "tests" ]
line_length = 99
known_first_party = "querpyable"

[tool.docformatter]
black = true
non-strict = true
non-cap = ["querpyable"]
non-cap = [ "querpyable" ]
recursive = true
in-place = true

Expand All @@ -215,11 +210,11 @@ python_functions = "test_*"
testpaths = "tests"

[tool.coverage.paths]
source = ["src"]
source = [ "src" ]

[tool.coverage.run]
branch = true
source = ["querpyable"]
source = [ "querpyable" ]

[tool.coverage.report]
show_missing = true
Expand All @@ -231,10 +226,10 @@ exclude_lines = [
"if __name__ == .__main__.:",
]
ignore_errors = true
omit = ["tests/*"]
omit = [ "tests/*" ]

[tool.mypy]
files = ["src/querpyable"]
files = [ "src/querpyable" ]
warn_unused_configs = true
warn_return_any = true
ignore_missing_imports = true
Expand All @@ -252,7 +247,7 @@ build_command = "python -m pip install poetry && poetry build"

[tool.vulture]
min_confidence = 95
paths = ["src/querpyable", "tests"]
paths = [ "src/querpyable", "tests" ]

[tool.poe.tasks]
clean = { cmd = "rm -rf ./**/__pycache__ dist site .pytest_cache .mypy_cache .coverage", help = "Clean up any auxiliary files" }
Expand All @@ -266,4 +261,4 @@ export = { cmd = "poetry export --without-hashes --dev -o requirements.txt" }

[tool.bandit]
recursive = true
exclude_dirs = ["tests"]
exclude_dirs = [ "tests" ]

0 comments on commit d5be190

Please sign in to comment.