-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c983a74
commit 0c84668
Showing
1 changed file
with
66 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,90 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=45", | ||
"setuptools_scm[toml]>=6.2", | ||
] | ||
|
||
[project] | ||
name = "abnf" | ||
authors = [ | ||
{name = "Charles Yeomans", email = "[email protected]"}, | ||
{ email = "[email protected]", name = "Charles Yeomans" }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Topic :: Software Development :: Code Generators", | ||
"Topic :: Software Development :: Interpreters", | ||
] | ||
description = "Parsers for ABNF grammars." | ||
dynamic = [ | ||
"version", | ||
] | ||
keywords = [ | ||
"abnf", | ||
"generator", | ||
"parser", | ||
] | ||
name = "abnf" | ||
readme = "README.md" | ||
requires-python = ">= 3.9" | ||
keywords = ["abnf", "parser", "generator"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Topic :: Software Development :: Code Generators", | ||
"Topic :: Software Development :: Interpreters", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
] | ||
dynamic = ["version"] | ||
|
||
[build-system] | ||
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
|
||
[tool.black] | ||
|
||
[tool.check-manifest] | ||
ignore = [ | ||
"tests/notes", | ||
] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.pyright] | ||
pythonVersion = "3.9" | ||
|
||
[tool.ruff] | ||
target-version = "py39" | ||
|
||
[tool.ruff.lint] | ||
select = ["F", "E", "UP", "ASYNC", "BLE", "COM", "C4", "T20", "RUF", "B", "SIM", "DTZ", "EM", "ISC", "ICN", "FURB", "PERF", "I"] | ||
ignore = ["E501", "S101", "RUF001", "COM812"] | ||
|
||
ignore = [ | ||
"COM812", | ||
"E501", | ||
"RUF001", | ||
"S101", | ||
] | ||
select = [ | ||
"ASYNC", | ||
"B", | ||
"BLE", | ||
"C4", | ||
"COM", | ||
"DTZ", | ||
"E", | ||
"EM", | ||
"F", | ||
"FURB", | ||
"I", | ||
"ICN", | ||
"ISC", | ||
"PERF", | ||
"RUF", | ||
"SIM", | ||
"T20", | ||
"UP", | ||
] | ||
|
||
[tool.ruff.lint.flake8-pytest-style] | ||
fixture-parentheses = false | ||
mark-parentheses = false | ||
|
||
[tool.ruff.lint.pyupgrade] | ||
# Preserve types, even if a file imports `from __future__ import annotations`. | ||
keep-runtime-typing = true | ||
|
||
[tool.check-manifest] | ||
ignore = ["tests/notes"] | ||
|
||
[tool.pyright] | ||
pythonVersion = "3.9" | ||
[tool.setuptools_scm] |