1[tool.poetry] 2name = "HaikuPorter" 3version = "1.2.8" 4description = "HAIKUPORTER" 5authors = ["Haiku Inc. <contact@haiku-inc.org>"] 6repository = "https://github.com/haikuports/haikuporter" 7documentation = "https://haikuports.github.io/haikuporter/" 8readme = "README.md" 9packages = [ 10 {include = "HaikuPorter"} 11] 12 13[tool.poetry.dependencies] 14python = ">=3.8,<4.0" 15black = "^23.7.0" 16isort = "^5.12.0" 17pylint = "^2.17.4" 18 19[tool.poetry.group.dev.dependencies] 20pytest = "^7.2.0" 21pytest-cov = "^4.0.0" 22deptry = "^0.6.4" 23mypy = "^0.981" 24pre-commit = "^2.20.0" 25tox = "^3.25.1" 26 27[tool.poetry.group.docs.dependencies] 28mkdocs = "^1.4.2" 29mkdocs-material = "^8.5.10" 30mkdocstrings = {extras = ["python"], version = "^0.19.0"} 31 32[build-system] 33requires = ["poetry-core>=1.0.0"] 34build-backend = "poetry.core.masonry.api" 35 36[tool.black] 37line-length = 88 38target-version = ['py37'] 39preview = true 40 41[tool.mypy] 42files = ["HaikuPorter"] 43disallow_untyped_defs = "True" 44disallow_any_unimported = "True" 45no_implicit_optional = "True" 46check_untyped_defs = "True" 47warn_return_any = "True" 48warn_unused_ignores = "True" 49show_error_codes = "True" 50 51[tool.ruff] 52target-version = "py37" 53line-length = 88 54fix = true 55select = [ 56 # flake8-2020 57 "YTT", 58 # flake8-bandit 59 "S", 60 # flake8-bugbear 61 "B", 62 # flake8-builtins 63 "A", 64 # flake8-comprehensions 65 "C4", 66 # flake8-debugger 67 "T10", 68 # flake8-simplify 69 "SIM", 70 # isort 71 "I", 72 # mccabe 73 "C90", 74 # pycodestyle 75 "E", "W", 76 # pyflakes 77 "F", 78 # pygrep-hooks 79 "PGH", 80 # pyupgrade 81 "UP", 82 # ruff 83 "RUF", 84 # tryceratops 85 "TRY", 86] 87ignore = [ 88 # LineTooLong 89 "E501", 90 # DoNotAssignLambda 91 "E731", 92] 93 94[tool.ruff.per-file-ignores] 95"tests/*" = ["S101"] 96 97[tool.coverage.report] 98skip_empty = true 99 100[tool.coverage.run] 101branch = true 102source = ["HaikuPorter"] 103