-
-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathpyproject.toml
61 lines (52 loc) · 1.8 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gherkin-official"
version = "31.0.0"
description = "Gherkin parser (official, by Cucumber team)"
readme = "README.md"
requires-python = ">=3.9"
authors = [
{ name = "Cucumber Ltd and Björn Rasmusson", email = "[email protected]" }
]
dependencies = [
"typing_extensions>=4",
]
keywords = ["gherkin", "cucumber", "bdd"]
classifiers = [
"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",
]
[project.urls]
Homepage = "https://github.com/cucumber/gherkin"
Repository = "https://github.com/cucumber/gherkin.git"
Download = "https://pypi.python.org/pypi/gherkin-official"
Issues = "https://github.com/cucumber/gherkin/issues"
Changelog = "https://github.com/cucumber/gherkin/releases"
[tool.setuptools.packages.find]
include = ["gherkin", "gherkin.*"]
[tool.setuptools.package-data]
gherkin = ["*.json"]
[tool.mypy]
disallow_untyped_defs = true
packages = ["gherkin"]
[tool.black]
# Using `(python/)?` to match both `gherkin/parser.py` and `python/gherkin/parser.py`.
# This is needed to be able to run `black` as a pre-commit hook, and also to run it manually.
force-exclude = """(
(python/)?gherkin/parser.py
)"""
target-version = ["py39", "py310", "py311", "py312", "py313"]
[tool.flake8]
# E1: indentation: already covered by `black`
# E2: whitespace: already covered by `black`
# E3: blank line: already covered by `black`
# E501: line length: already covered by `black`
extend-ignore = "E1,E2,E3,E501"