-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
110 lines (96 loc) · 2.28 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[tool.poetry]
name = "cibo"
version = "0.0.0"
description = "An experimental MUD server, written in Python. Object-oriented and event driven."
authors = ["Albert Wesker <albert.wesker@umbrellacorp.io>"]
license = "MIT"
[tool.poetry.dependencies]
blinker = "1.7.0"
marshmallow = "3.19.0"
passlib = "1.7.4"
peewee = "3.16.2"
python = "3.11.4"
python-dotenv = "1.0.0"
rich = "13.4.2"
schedule = "1.2.0"
[tool.poetry.dev-dependencies]
black = "23.7.0"
coverage = "7.2.7"
dunamai = "1.19.0"
gitchangelog = { git = "https://github.com/wesker-albert/gitchangelog.git", tag = "3.1.5" }
mypy = "1.4.1"
pylint = "2.17.4"
pylint-per-file-ignores = "1.2.1"
pytest = "7.4.0"
pytest-cov = "4.1.0"
pytest-reverse = "1.7.0"
pytest-xdist = "3.3.1"
safety = "2.3.4"
[tool.pytest.ini_options]
cache_dir = "../.pytest_cache"
[tool.coverage.run]
source = ["."]
branch = true
parallel = true
concurrency = ["multiprocessing"]
omit = [
"*/__init__.py",
"*/__main__.py",
"*/conftest.py",
"*/tests/*"
]
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
"pytest: no cover",
"import"
]
[tool.black]
target_version = ["py38"]
[tool.isort]
include_trailing_comma = true
line_length = 88
multi_line_output = 3
profile = "black"
sections = [
"FUTURE",
"STDLIB",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER"
]
[tool.mypy]
cache_dir = "../.mypy_cache"
disallow_untyped_defs = true
files = "$MYPY_CONFIG_FILE_DIR/cibo/"
ignore_missing_imports = true
no_implicit_optional = true
python_version = "3.11"
warn_return_any = true
warn_unused_ignores = true
[tool.pylint.master]
load-plugins = ["pylint_per_file_ignores"]
ignore = [
"*/.git/*",
"pyproject.toml"
]
[tool.pylint.similarities]
ignore-imports = true
min-similarity-lines = 10
[tool.pylint.format]
max-line-length = 88
[tool.pylint.messages_control]
disable = [
"broad-exception-caught",
"fixme",
"too-few-public-methods",
"too-many-instance-attributes",
"unnecessary-pass",
"unsubscriptable-object"
]
[tool.pylint-per-file-ignores]
"./tests/" = "missing-function-docstring,missing-class-docstring,missing-module-docstring,line-too-long,no-member,attribute-defined-outside-init,logging-too-many-args"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"