-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
56 lines (47 loc) · 1.19 KB
/
pyproject.toml
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
[tool.poetry]
name = "mazel"
version = "0.0.5"
description = "Simple bazel-inspired Makefile runner for monorepos"
authors = ["John Paulett <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/equium-io/mazel"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
tomlkit = "^0.11.5"
click = "^8.1.3"
"ruamel.yaml" = { version = "^0.17.21", optional = true }
[tool.poetry.dev-dependencies]
Sphinx = "^5.3.0"
black = "^22.12.0"
flake8 = "^6.0.0"
isort = "^5.11.4"
mypy = "^0.991"
flake8-bugbear = "^22.12.6"
flake8-fixme = "^1.1.1"
sphinx-autobuild = "^2021.3.14"
[tool.poetry.scripts]
mazel = 'mazel.main:cli'
[tool.poetry.extras]
# yaml only for `mazel contrib dependabot`
yaml = ["ruamel.yaml"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
known_first_party = "mazel"
float_to_top = true
[tool.mypy]
ignore_missing_imports = true
# be strict
disallow_untyped_calls = true
warn_return_any = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
# even stricter
disallow_untyped_defs = true
check_untyped_defs = true