Codebase list pypsrp / run/034cb8aa-d375-408f-bd21-8cf4e624268a/upstream pyproject.toml
run/034cb8aa-d375-408f-bd21-8cf4e624268a/upstream

Tree @run/034cb8aa-d375-408f-bd21-8cf4e624268a/upstream (Download .tar.gz)

pyproject.toml @run/034cb8aa-d375-408f-bd21-8cf4e624268a/upstreamraw · history · blame

[build-system]
requires = ["setuptools>=42.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
    \.git
  | \.hg
  | \.mypy_cache
  | \.tox
  | \.venv
  | _build
  | buck-out
  | build
  | dist
)/
'''

[tool.isort]
profile = "black"

[tool.mypy]
exclude = "build/"
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
show_error_codes = true
show_column_numbers = true
disallow_any_unimported = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
no_implicit_reexport = true
warn_redundant_casts = true
warn_unused_ignores = true

[[tool.mypy.overrides]]
module = "requests.packages.urllib3.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "requests_credssp"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "xmldiff"
ignore_missing_imports = true

[tool.pytest.ini_options]
testpaths = "tests"
junit_family = "xunit2"

[tool.tox]
legacy_tox_ini = """
[tox]
envlist = lint,py36,py37,py38,py39,py310
skip_missing_interpreters = true
isolated_build = True

[testenv]
deps =
    -r{toxinidir}/requirements-dev.txt

commands =
    python -m pytest -v --cov pypsrp --cov-report term-missing

passenv =
    PSRP_*

[testenv:lint]
commands =
    python -m black . --check
    python -m isort . --check-only
    python -m mypy .
"""