Skip to content

Commit

Permalink
approve 3.13 in pyproject, change ruff lint settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pnxenopoulos committed Nov 24, 2024
1 parent 455cb42 commit 5e4bd63
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Games/Entertainment",
"Topic :: Games/Entertainment :: First Person Shooters",
"Topic :: Scientific/Engineering :: Information Analysis"
Expand All @@ -27,7 +28,7 @@ homepage = "https://awpycs.com"
repository = "https://github.com/pnxenopoulos/awpy"

[tool.poetry.dependencies]
python = "<3.13,>=3.10"
python = "<=3.13,>=3.10"
click = ">=8.1.7"
loguru = ">=0.7.2"
matplotlib = ">=3.9.0"
Expand Down Expand Up @@ -96,6 +97,9 @@ exclude = [
"venv",
"docs"
]
line-length = 88

[tool.ruff.lint]
select = [
"E",
"F",
Expand Down Expand Up @@ -144,15 +148,14 @@ select = [
]
ignore = ["D208", "ANN101", "T20", "PTH", "TRY003", "BLE001", "PLR2004", "UP007", "ISC001"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
line-length = 88

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

[tool.ruff.pylint]
[tool.ruff.lint.pylint]
max-args = 17

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
"tests/test_*.py" = ["ANN201", "S101", "SLF001", "PLR2004"]

Expand Down

0 comments on commit 5e4bd63

Please sign in to comment.