2023-06-20 15:43:21 -05:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
|
|
|
|
|
2023-06-20 00:29:58 -05:00
|
|
|
[project]
|
2023-06-20 12:50:32 -05:00
|
|
|
name = "gp2040ce-binary-tools"
|
2023-06-20 00:29:58 -05:00
|
|
|
description = "Tools for working with GP2040-CE binary dumps."
|
|
|
|
readme = "README.md"
|
|
|
|
license = {text = "MIT"}
|
|
|
|
authors = [
|
|
|
|
{name = "Brian S. Stephan", email = "bss@incorporeal.org"},
|
|
|
|
]
|
2023-06-21 09:11:05 -05:00
|
|
|
requires-python = ">=3.9"
|
2023-06-20 12:50:32 -05:00
|
|
|
dependencies = ["grpcio-tools"]
|
2023-06-20 15:43:21 -05:00
|
|
|
dynamic = ["version"]
|
2023-06-20 00:29:58 -05:00
|
|
|
|
|
|
|
[project.optional-dependencies]
|
2023-06-21 12:27:45 -05:00
|
|
|
dev = ["bandit", "decorator", "flake8", "flake8-blind-except", "flake8-builtins", "flake8-docstrings",
|
|
|
|
"flake8-executable", "flake8-fixme", "flake8-isort", "flake8-logging-format", "flake8-mutable",
|
|
|
|
"flake8-pyproject", "mypy", "pip-tools", "pytest", "pytest-cov", "setuptools-scm", "tox"]
|
2023-06-20 12:50:32 -05:00
|
|
|
|
|
|
|
[project.scripts]
|
2023-06-26 15:22:01 -05:00
|
|
|
concatenate = "gp2040ce_bintools.builder:concatenate"
|
2023-06-20 12:50:32 -05:00
|
|
|
visualize-storage = "gp2040ce_bintools.storage:visualize"
|
|
|
|
|
|
|
|
[tool.flake8]
|
2023-06-21 12:27:45 -05:00
|
|
|
enable-extensions = "G,M"
|
|
|
|
exclude = [".tox/", "venv/", "_version.py", "tests/test-files/"]
|
|
|
|
extend-ignore = "T101"
|
|
|
|
max-complexity = 10
|
2023-06-20 12:50:32 -05:00
|
|
|
max-line-length = 120
|
2023-06-20 15:43:21 -05:00
|
|
|
|
2023-06-21 15:20:21 -05:00
|
|
|
[tool.isort]
|
|
|
|
line_length = 120
|
|
|
|
|
2023-06-20 18:26:29 -05:00
|
|
|
[tool.mypy]
|
|
|
|
ignore_missing_imports = true
|
|
|
|
|
2023-06-21 12:27:45 -05:00
|
|
|
[tool.pytest]
|
|
|
|
python_files = ["*_tests.py", "tests.py", "test_*.py"]
|
|
|
|
|
2023-06-20 15:43:21 -05:00
|
|
|
[tool.setuptools_scm]
|
|
|
|
write_to = "gp2040ce_bintools/_version.py"
|