Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
pyproject.toml115 linesDownload Raw Back to gyp
1[build-system]
2requires = ["setuptools>=61.0"]
3build-backend = "setuptools.build_meta"
4
5[project]
6name = "gyp-next"
7version = "0.21.1"
8authors = [
9  { name="Node.js contributors", email="ryzokuken@disroot.org" },
10]
11description = "A fork of the GYP build system for use in the Node.js projects"
12readme = "README.md"
13license = { file="LICENSE" }
14requires-python = ">=3.8"
15dependencies = ["packaging>=24.0", "setuptools>=69.5.1"]
16classifiers = [
17    "Development Status :: 3 - Alpha",
18    "Environment :: Console",
19    "Intended Audience :: Developers",
20    "License :: OSI Approved :: BSD License",
21    "Natural Language :: English",
22    "Programming Language :: Python",
23    "Programming Language :: Python :: 3",
24    "Programming Language :: Python :: 3.8",
25    "Programming Language :: Python :: 3.9",
26    "Programming Language :: Python :: 3.10",
27    "Programming Language :: Python :: 3.11",
28]
29
30[project.optional-dependencies]
31dev = ["pytest", "ruff"]
32
33[project.scripts]
34gyp = "gyp:script_main"
35
36[project.urls]
37"Homepage" = "https://github.com/nodejs/gyp-next"
38
39[tool.ruff]
40extend-exclude = ["pylib/packaging"]
41line-length = 88
42
43[tool.ruff.lint]
44select = [
45  "C4",   # flake8-comprehensions
46  "C90",  # McCabe cyclomatic complexity
47  "DTZ",  # flake8-datetimez
48  "E",    # pycodestyle
49  "F",    # Pyflakes
50  "G",    # flake8-logging-format
51  "ICN",  # flake8-import-conventions
52  "INT",  # flake8-gettext
53  "PL",   # Pylint
54  "PYI",  # flake8-pyi
55  "RSE",  # flake8-raise
56  "RUF",  # Ruff-specific rules
57  "T10",  # flake8-debugger
58  "TCH",  # flake8-type-checking
59  "TID",  # flake8-tidy-imports
60  "UP",   # pyupgrade
61  "W",    # pycodestyle
62  "YTT",  # flake8-2020
63  # "A",    # flake8-builtins
64  # "ANN",  # flake8-annotations
65  # "ARG",  # flake8-unused-arguments
66  # "B",    # flake8-bugbear
67  # "BLE",  # flake8-blind-except
68  # "COM",  # flake8-commas
69  # "D",    # pydocstyle
70  # "DJ",   # flake8-django
71  # "EM",   # flake8-errmsg
72  # "ERA",  # eradicate
73  # "EXE",  # flake8-executable
74  # "FBT",  # flake8-boolean-trap
75  # "I",    # isort
76  # "INP",  # flake8-no-pep420
77  # "ISC",  # flake8-implicit-str-concat
78  # "N",    # pep8-naming
79  # "NPY",  # NumPy-specific rules
80  # "PD",   # pandas-vet
81  # "PGH",  # pygrep-hooks
82  # "PIE",  # flake8-pie
83  # "PT",   # flake8-pytest-style
84  # "PTH",  # flake8-use-pathlib
85  # "Q",    # flake8-quotes
86  # "RET",  # flake8-return
87  # "S",    # flake8-bandit
88  # "SIM",  # flake8-simplify
89  # "SLF",  # flake8-self
90  # "T20",  # flake8-print
91  # "TRY",  # tryceratops
92]
93ignore = [
94  "PLR1714",
95  "PLW0603",
96  "PLW2901",
97  "RUF005",
98  "RUF012",
99  "UP031",
100]
101
102[tool.ruff.lint.mccabe]
103max-complexity = 101
104
105[tool.ruff.lint.pylint]
106allow-magic-value-types = ["float", "int", "str"]
107max-args = 11
108max-branches = 108
109max-returns = 10
110max-statements = 286
111
112[tool.setuptools]
113package-dir = {"" = "pylib"}
114packages = ["gyp", "gyp.generator"]
115 
codekingpro/portable-devtools · Team Ai