Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 18, 2024
1 parent 2e507c3 commit 0781c60
Showing 1 changed file with 29 additions and 34 deletions.
63 changes: 29 additions & 34 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ requires = [

[project]
name = "sphinx-lint"
description = "Check for stylistic and formal issues in .rst and .py files included in the documentation."
description = "Check for stylistic and formal issues in.rst and.py files included in the documentation."
readme = "README.md"
license = {text = "PSF License"}
license = { text = "PSF License" }
authors = [
{name = "Georg Brandl", email = "georg@python.org"},
{name = "Julien Palard", email = "julien@palard.fr"},
{ name = "Georg Brandl", email = "georg@python.org" },
{ name = "Julien Palard", email = "julien@palard.fr" },
]
requires-python = ">= 3.8"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -29,57 +29,52 @@ classifiers = [
"Programming Language :: Python :: 3.13",
"Topic :: Documentation :: Sphinx",
]
dynamic = [
"version",
]
dynamic = [ "version" ]
dependencies = [
"polib",
"regex",
]
[project.optional-dependencies]
tests = [
optional-dependencies.tests = [
"pytest",
"pytest-cov",
]
[project.urls]
Changelog = "https://github.com/sphinx-contrib/sphinx-lint/releases"
Repository = "https://github.com/sphinx-contrib/sphinx-lint"
[project.scripts]
sphinx-lint = "sphinxlint.cli:main"
urls.Changelog = "https://github.com/sphinx-contrib/sphinx-lint/releases"
urls.Repository = "https://github.com/sphinx-contrib/sphinx-lint"
scripts.sphinx-lint = "sphinxlint.cli:main"

[tool.hatch]
version.source = "vcs"

[tool.hatch.build.targets.wheel]
packages = ["sphinxlint"]
packages = [ "sphinxlint" ]

[tool.hatch.version.raw-options]
local_scheme = "no-local-version"

[tool.ruff]
fix = true

[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes errors
"I", # isort
"PGH", # pygrep-hooks
format.preview = true
lint.select = [
"E", # pycodestyle errors
"F", # pyflakes errors
"I", # isort
"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 ':'
"E221", # Multiple spaces before operator
"E226", # Missing whitespace around arithmetic operator
"E241", # Multiple spaces after ','
lint.ignore = [
"E203", # Whitespace before ':'
"E221", # Multiple spaces before operator
"E226", # Missing whitespace around arithmetic operator
"E241", # Multiple spaces after ','
"UP038", # makes code slower and more verbose
]

[tool.ruff.format]
preview = true

[tool.pylint.variables]
callbacks = ["check_"]
callbacks = [ "check_" ]

[tool.pyproject-fmt]
max_supported_python = "3.13"

0 comments on commit 0781c60

Please sign in to comment.