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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
| [build-system]
| requires = ["setuptools>=61.0"]
| build-backend = "setuptools.build_meta"
|
| [project]
| name = "gyp-next"
| version = "0.16.1"
| authors = [
| { name="Node.js contributors", email="ryzokuken@disroot.org" },
| ]
| description = "A fork of the GYP build system for use in the Node.js projects"
| readme = "README.md"
| license = { file="LICENSE" }
| requires-python = ">=3.8"
| # The Python module "packaging" is vendored in the "pylib/packaging" directory to support Python >= 3.12.
| # dependencies = ["packaging>=23.1"] # Uncomment this line if the vendored version is removed.
| classifiers = [
| "Development Status :: 3 - Alpha",
| "Environment :: Console",
| "Intended Audience :: Developers",
| "License :: OSI Approved :: BSD License",
| "Natural Language :: English",
| "Programming Language :: Python",
| "Programming Language :: Python :: 3",
| "Programming Language :: Python :: 3.8",
| "Programming Language :: Python :: 3.9",
| "Programming Language :: Python :: 3.10",
| "Programming Language :: Python :: 3.11",
| ]
|
| [project.optional-dependencies]
| dev = ["flake8", "ruff", "pytest"]
|
| [project.scripts]
| gyp = "gyp:script_main"
|
| [project.urls]
| "Homepage" = "https://github.com/nodejs/gyp-next"
|
| [tool.ruff]
| lint.select = [
| "C4", # flake8-comprehensions
| "C90", # McCabe cyclomatic complexity
| "DTZ", # flake8-datetimez
| "E", # pycodestyle
| "F", # Pyflakes
| "G", # flake8-logging-format
| "ICN", # flake8-import-conventions
| "INT", # flake8-gettext
| "PL", # Pylint
| "PYI", # flake8-pyi
| "RSE", # flake8-raise
| "RUF", # Ruff-specific rules
| "T10", # flake8-debugger
| "TCH", # flake8-type-checking
| "TID", # flake8-tidy-imports
| "UP", # pyupgrade
| "W", # pycodestyle
| "YTT", # flake8-2020
| # "A", # flake8-builtins
| # "ANN", # flake8-annotations
| # "ARG", # flake8-unused-arguments
| # "B", # flake8-bugbear
| # "BLE", # flake8-blind-except
| # "COM", # flake8-commas
| # "D", # pydocstyle
| # "DJ", # flake8-django
| # "EM", # flake8-errmsg
| # "ERA", # eradicate
| # "EXE", # flake8-executable
| # "FBT", # flake8-boolean-trap
| # "I", # isort
| # "INP", # flake8-no-pep420
| # "ISC", # flake8-implicit-str-concat
| # "N", # pep8-naming
| # "NPY", # NumPy-specific rules
| # "PD", # pandas-vet
| # "PGH", # pygrep-hooks
| # "PIE", # flake8-pie
| # "PT", # flake8-pytest-style
| # "PTH", # flake8-use-pathlib
| # "Q", # flake8-quotes
| # "RET", # flake8-return
| # "S", # flake8-bandit
| # "SIM", # flake8-simplify
| # "SLF", # flake8-self
| # "T20", # flake8-print
| # "TRY", # tryceratops
| ]
| lint.ignore = [
| "E721",
| "PLC1901",
| "PLR0402",
| "PLR1714",
| "PLR2004",
| "PLR5501",
| "PLW0603",
| "PLW2901",
| "PYI024",
| "RUF005",
| "RUF012",
| "UP031",
| ]
| extend-exclude = ["pylib/packaging"]
| line-length = 88
| target-version = "py37"
|
| [tool.ruff.lint.mccabe]
| max-complexity = 101
|
| [tool.ruff.lint.pylint]
| max-args = 11
| max-branches = 108
| max-returns = 10
| max-statements = 286
|
| [tool.setuptools]
| package-dir = {"" = "pylib"}
| packages = ["gyp", "gyp.generator"]
|
|