Configure pyproject-fmt to add Python 3.13 classifier
This commit is contained in:
parent
aceaa69c9a
commit
184d0328a9
|
@ -47,7 +47,6 @@ repos:
|
||||||
rev: 2.1.3
|
rev: 2.1.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyproject-fmt
|
- id: pyproject-fmt
|
||||||
additional_dependencies: [tox]
|
|
||||||
|
|
||||||
- repo: https://github.com/abravalheri/validate-pyproject
|
- repo: https://github.com/abravalheri/validate-pyproject
|
||||||
rev: v0.18
|
rev: v0.18
|
||||||
|
|
|
@ -16,8 +16,12 @@ keywords = [
|
||||||
"scrobbling",
|
"scrobbling",
|
||||||
]
|
]
|
||||||
license = { text = "Apache-2.0" }
|
license = { text = "Apache-2.0" }
|
||||||
maintainers = [{name = "Hugo van Kemenade"}]
|
maintainers = [
|
||||||
authors = [{name = "Amr Hassan <amr.hassan@gmail.com> and Contributors", email = "amr.hassan@gmail.com"}]
|
{ name = "Hugo van Kemenade" },
|
||||||
|
]
|
||||||
|
authors = [
|
||||||
|
{ name = "Amr Hassan <amr.hassan@gmail.com> and Contributors", email = "amr.hassan@gmail.com" },
|
||||||
|
]
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
@ -41,18 +45,16 @@ dynamic = [
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"httpx",
|
"httpx",
|
||||||
]
|
]
|
||||||
[project.optional-dependencies]
|
optional-dependencies.tests = [
|
||||||
tests = [
|
|
||||||
"flaky",
|
"flaky",
|
||||||
"pytest",
|
"pytest",
|
||||||
"pytest-cov",
|
"pytest-cov",
|
||||||
"pytest-random-order",
|
"pytest-random-order",
|
||||||
"pyyaml",
|
"pyyaml",
|
||||||
]
|
]
|
||||||
[project.urls]
|
urls.Changelog = "https://github.com/pylast/pylast/releases"
|
||||||
Changelog = "https://github.com/pylast/pylast/releases"
|
urls.Homepage = "https://github.com/pylast/pylast"
|
||||||
Homepage = "https://github.com/pylast/pylast"
|
urls.Source = "https://github.com/pylast/pylast"
|
||||||
Source = "https://github.com/pylast/pylast"
|
|
||||||
|
|
||||||
[tool.hatch]
|
[tool.hatch]
|
||||||
version.source = "vcs"
|
version.source = "vcs"
|
||||||
|
@ -60,8 +62,10 @@ version.source = "vcs"
|
||||||
[tool.hatch.version.raw-options]
|
[tool.hatch.version.raw-options]
|
||||||
local_scheme = "no-local-version"
|
local_scheme = "no-local-version"
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff]
|
||||||
select = [
|
fix = true
|
||||||
|
|
||||||
|
lint.select = [
|
||||||
"C4", # flake8-comprehensions
|
"C4", # flake8-comprehensions
|
||||||
"E", # pycodestyle errors
|
"E", # pycodestyle errors
|
||||||
"EM", # flake8-errmsg
|
"EM", # flake8-errmsg
|
||||||
|
@ -70,19 +74,24 @@ select = [
|
||||||
"ISC", # flake8-implicit-str-concat
|
"ISC", # flake8-implicit-str-concat
|
||||||
"LOG", # flake8-logging
|
"LOG", # flake8-logging
|
||||||
"PGH", # pygrep-hooks
|
"PGH", # pygrep-hooks
|
||||||
"RUF100", # unused noqa (yesqa)
|
|
||||||
"RUF022", # unsorted-dunder-all
|
"RUF022", # unsorted-dunder-all
|
||||||
|
"RUF100", # unused noqa (yesqa)
|
||||||
"UP", # pyupgrade
|
"UP", # pyupgrade
|
||||||
"W", # pycodestyle warnings
|
"W", # pycodestyle warnings
|
||||||
"YTT", # flake8-2020
|
"YTT", # flake8-2020
|
||||||
]
|
]
|
||||||
extend-ignore = [
|
lint.extend-ignore = [
|
||||||
"E203", # Whitespace before ':'
|
"E203", # Whitespace before ':'
|
||||||
"E221", # Multiple spaces before operator
|
"E221", # Multiple spaces before operator
|
||||||
"E226", # Missing whitespace around arithmetic operator
|
"E226", # Missing whitespace around arithmetic operator
|
||||||
"E241", # Multiple spaces after ','
|
"E241", # Multiple spaces after ','
|
||||||
]
|
]
|
||||||
|
lint.isort.known-first-party = [
|
||||||
|
"pylast",
|
||||||
|
]
|
||||||
|
lint.isort.required-imports = [
|
||||||
|
"from __future__ import annotations",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
[tool.pyproject-fmt]
|
||||||
known-first-party = ["pylast"]
|
max_supported_python = "3.13"
|
||||||
required-imports = ["from __future__ import annotations"]
|
|
||||||
|
|
Loading…
Reference in a new issue