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 May 15, 2024
1 parent 71dd4a5 commit c0fd739
Showing 1 changed file with 29 additions and 31 deletions.
60 changes: 29 additions & 31 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ keywords = [
"endoflife",
"eol",
]
license = {text = "MIT"}
authors = [{name = "Hugo van Kemenade"}]
license = { text = "MIT" }
authors = [
{ name = "Hugo van Kemenade" },
]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
Expand Down Expand Up @@ -46,21 +48,17 @@ dependencies = [
"python-slugify",
"termcolor>=2.1",
]
[project.optional-dependencies]
tests = [
optional-dependencies.tests = [
"freezegun",
"pytest",
"pytest-cov",
"respx>=0.11",
]
[project.urls]
Changelog = "https://github.com/hugovk/norwegianblue/releases"
Homepage = "https://github.com/hugovk/norwegianblue"
Source = "https://github.com/hugovk/norwegianblue"
[project.scripts]
eol = "norwegianblue.cli:main"
norwegianblue = "norwegianblue.cli:main"

urls.Changelog = "https://github.com/hugovk/norwegianblue/releases"
urls.Homepage = "https://github.com/hugovk/norwegianblue"
urls.Source = "https://github.com/hugovk/norwegianblue"
scripts.eol = "norwegianblue.cli:main"
scripts.norwegianblue = "norwegianblue.cli:main"
[tool.hatch]
version.source = "vcs"

Expand All @@ -70,32 +68,32 @@ local_scheme = "no-local-version"
[tool.ruff]
fix = true

[tool.ruff.lint]
select = [
"C4", # flake8-comprehensions
"E", # pycodestyle errors
"EM", # flake8-errmsg
"F", # pyflakes errors
"I", # isort
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
"PGH", # pygrep-hooks
lint.select = [
"C4", # flake8-comprehensions
"E", # pycodestyle errors
"EM", # flake8-errmsg
"F", # pyflakes errors
"I", # isort
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
"PGH", # pygrep-hooks
"RUF100", # unused noqa (yesqa)
"UP", # pyupgrade
"W", # pycodestyle warnings
"YTT", # flake8-2020
"UP", # pyupgrade
"W", # pycodestyle warnings
"YTT", # flake8-2020
]
extend-ignore = [
lint.extend-ignore = [
"E203", # Whitespace before ':'
"E221", # Multiple spaces before operator
"E226", # Missing whitespace around arithmetic operator
"E241", # Multiple spaces after ','
]

[tool.ruff.lint.isort]
known-first-party = ["norwegianblue"]
required-imports = ["from __future__ import annotations"]

lint.isort.known-first-party = [
"norwegianblue",
]
lint.isort.required-imports = [
"from __future__ import annotations",
]
[tool.pyproject-fmt]
max_supported_python = "3.13"

Expand Down

0 comments on commit c0fd739

Please sign in to comment.