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
|
[build-system]
requires = ["setuptools>=62", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pusimp"
version = "0.1.1"
authors = [
{name = "Francesco Ballarin", email = "francesco.ballarin@unicatt.it"},
{name = "Drew Parsons", email = "dparsons@debian.org"},
]
maintainers = [
{name = "Francesco Ballarin", email = "francesco.ballarin@unicatt.it"},
{name = "Drew Parsons", email = "dparsons@debian.org"},
]
description = "Prevent user-site imports"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"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",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = []
[project.urls]
repository = "https://github.com/python-pusimp/pusimp"
issues = "https://github.com/python-pusimp/pusimp/issues"
[project.optional-dependencies]
lint = [
"isort",
"mypy",
"ruff",
"yamllint"
]
tests = [
"coverage[toml]",
"pip",
"pytest",
"virtualenv"
]
[tool.isort]
line_length = 120
multi_line_output = 4
order_by_type = false
[tool.mypy]
check_untyped_defs = true
disallow_any_unimported = true
disallow_untyped_defs = true
no_implicit_optional = true
pretty = true
show_error_codes = true
strict = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"pusimp_dependency_missing",
"tomllib",
"virtualenv"
]
ignore_missing_imports = true
[tool.pytest.ini_options]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["ANN", "D", "E", "F", "FLY", "ICN", "N", "Q", "RUF", "UP", "W"]
ignore = ["ANN101"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 120
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.setuptools.package-data]
pusimp = ["py.typed"]
[tool.setuptools.packages.find]
namespaces = false
|