github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/testcharms/charms/pebble-notices/pyproject.toml (about) 1 # Testing tools configuration 2 [tool.coverage.run] 3 branch = true 4 5 [tool.coverage.report] 6 show_missing = true 7 8 [tool.pytest.ini_options] 9 minversion = "6.0" 10 log_cli_level = "INFO" 11 12 # Formatting tools configuration 13 [tool.black] 14 line-length = 99 15 target-version = ["py38"] 16 17 # Linting tools configuration 18 [tool.ruff] 19 line-length = 99 20 select = ["E", "W", "F", "C", "N", "D", "I001"] 21 extend-ignore = [ 22 "D203", 23 "D204", 24 "D213", 25 "D215", 26 "D400", 27 "D404", 28 "D406", 29 "D407", 30 "D408", 31 "D409", 32 "D413", 33 ] 34 ignore = ["E501", "D107"] 35 extend-exclude = ["__pycache__", "*.egg_info"] 36 per-file-ignores = {"tests/*" = ["D100","D101","D102","D103","D104"]} 37 38 [tool.ruff.mccabe] 39 max-complexity = 10 40 41 [tool.codespell] 42 skip = "build,lib,venv,icon.svg,.tox,.git,.mypy_cache,.ruff_cache,.coverage"