Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 12 additions & 27 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,9 @@ readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
dependencies = []
authors = [
{ name = "Lari Liuhamo", email = "lari.liuhamo+pypi@gmail.com" },
]
maintainers = [
{ name = "Lari Liuhamo", email = "lari.liuhamo+pypi@gmail.com" },
]
keywords = [
"python3",
"rust",
]
authors = [{ name = "Lari Liuhamo", email = "lari.liuhamo+pypi@gmail.com" }]
maintainers = [{ name = "Lari Liuhamo", email = "lari.liuhamo+pypi@gmail.com" }]
keywords = ["python3", "rust"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
Expand Down Expand Up @@ -48,7 +41,7 @@ dev = [
"pytest-benchmark>=5.2.3",
"pytest-cov>=7.1.0",
"pytest-xdist[psutil]>=3.8.0",
"ruff>=0.15.22",
"ruff>=0.16.0",
"sphinx>=9.0.4",
"tox>=4.57.2",
"tox-gh-actions>=3.5.0",
Expand All @@ -57,10 +50,7 @@ dev = [
[tool.coverage.run]
branch = true
relative_files = true
omit = [
".tox/*",
"tests/*",
]
omit = [".tox/*", "tests/*"]

[tool.maturin]
auditwheel = "repair"
Expand All @@ -83,18 +73,15 @@ addopts = """
--ignore=docs/ \
-n logical
"""
filterwarnings = [
"ignore::pytest_benchmark.logger.PytestBenchmarkWarning",
]
filterwarnings = ["ignore::pytest_benchmark.logger.PytestBenchmarkWarning"]
minversion = "6.0"
testpaths = [
"tests",
]
testpaths = ["tests"]

[tool.ruff]
lint.select = ["ALL"]
lint.ignore = [
"COM812", # Missing trailing comma (disabled due to formatter conflict)
"CPY001", # Missing copyright notice at the top of the file
"D203", # One blank line before class docstring
"D212", # Multi-line summary first line
"ISC001", # Single-line implicit string concatenation (disabled due to formatter conflict)
Expand All @@ -103,7 +90,7 @@ lint.ignore = [
]
line-length = 120
show-fixes = true
src = ["python",]
src = ["python"]
target-version = "py311"

[tool.ruff.lint.flake8-quotes]
Expand All @@ -115,8 +102,8 @@ max-complexity = 10

[tool.ruff.lint.per-file-ignores]
# https://beta.ruff.rs/docs/rules/
"__init__.py" = ["F401", "F403", "F405", "PGH003",]
"tests/*" = ["ANN", "ARG", "INP001", "S101",]
"__init__.py" = ["F401", "F403", "F405", "PGH003"]
"tests/*" = ["ANN", "ARG", "INP001", "S101"]

[tool.ruff.lint.pylint]
max-args = 15
Expand Down Expand Up @@ -152,6 +139,4 @@ commands =
"""

[tool.uv]
constraint-dependencies = [
"pygments>=2.20.0",
]
constraint-dependencies = ["pygments>=2.20.0"]
Loading