-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
70 lines (61 loc) · 1.51 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[tool.poetry]
name = "od-compiler"
version = "0.4.0"
description = "OpenDream compiler listener"
authors = ["Crossedfall <[email protected]>"]
maintainers = ["Crossedfall <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/OpenDreamProject/od-compiler-bot"
packages = [{include = "od_compiler", from = "src"}]
[tool.poetry.dependencies]
python = "^3.11"
flask = "^2.3"
docker = "^6.0"
gitpython = "^3.1"
gunicorn = "^20.1"
wget = "^3.2"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0"
black = "^23.3"
pre-commit = "^3.3"
codespell = "^2.2"
pytest = "^7.3"
mypy = "^1.3"
pytest-cov = "^4.0"
pytest-depends = "^1.0"
pytest-order = "^1.1"
pytest-mock = "^3.10"
[tool.poetry.scripts]
compiler = "wsgi:main"
test = "pytest:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.codespell]
count = ""
skip = ".git,.venv,*.lock,runs,OpenDream,.mypy_cache"
builtin = "clear,rare,code,en-GB_to_en-US"
ignore-words-list = "od,ro"
quiet = 3
[tool.pytest.ini_options]
addopts = "--cov=od_compiler -p no:legacypath"
testpaths = ["tests"]
pythonpath = ["src"]
[tool.mypy]
mypy_path = "od_compiler"
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true
[[tool.mypy.overrides]]
module = "tests.*"