Skip to content

Commit

Permalink
Re-format
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 18, 2024
1 parent 2e507c3 commit 12d9bd9
Showing 1 changed file with 26 additions and 35 deletions.
61 changes: 26 additions & 35 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 @@ -26,60 +26,51 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"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.extend-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_" ]

0 comments on commit 12d9bd9

Please sign in to comment.