From e1cf799e9300f3ea9d1038e8c7dba0b2e50cfcae Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 02:44:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 52 ++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 56380c4..7cb4197 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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" @@ -72,18 +70,18 @@ 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 + "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 = [ "E203", # Whitespace before ':' @@ -93,8 +91,12 @@ extend-ignore = [ ] [tool.ruff.lint.isort] -known-first-party = ["norwegianblue"] -required-imports = ["from __future__ import annotations"] +known-first-party = [ + "norwegianblue", +] +required-imports = [ + "from __future__ import annotations", +] [tool.pyproject-fmt] max_supported_python = "3.13"