-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
129 lines (112 loc) · 2.36 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "asimap"
dynamic = ["version", "dependencies"]
authors = [
{ name="Scanner Luce", email="[email protected]" },
]
maintainers = [
{ name="Scanner Luce", email="[email protected]" },
]
description = "An IMAP server that uses `mailbox.MH` as its storage"
keywords = ["email", "imap"]
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
[project.scripts]
asimapd = "asimap.asimapd:main"
asimapd_user = "asimap.asimapd_user:main"
asimapd_set_password = "asimap.set_password:main"
[project.urls]
Homepage = "https://github.com/scanner/asimap"
Issues = "https://github.com/scanner/asimap/issues"
Changelog = "https://github.com/scanner/asimap/blob/main/CHANGELOG.md"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements/production.txt"]}
[tool.hatch.version]
path = "asimap/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"asimap",
"LICENSE",
"README.md",
]
exclude = [
"asimap/test",
"docs",
"venv",
".gitignore",
]
[tool.black]
line-length = 80
exclude = '''
(
/(
\.tox
| .+/migrations
| venv*
| \.venv
| \.pre-commit-cache
)/
)
'''
[tool.isort]
profile = "black"
line_length = 80
skip_gitignore = true
filter_files = true
skip_glob = ["*venv*","*/migrations/*",".*cache"]
[tool.mypy]
exclude = [
'__pycache__',
'^\.mnt',
'.*[-_]cache',
'.git',
'\.venv',
'venv*',
'tmp',
'fixtures',
'deployment',
'docs',
'requirements',
'migrations'
]
ignore_missing_imports = true
check_untyped_defs = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
plugins = [
]
[[tool.mypy.overrides]]
module = [
'boto3',
'click',
'funcy',
]
[tool.pytest.ini_options]
markers = [
"smoke: marks tests as smoke (deselect with '-m \"not smoke\"')",
"integration",
]
[tool.pylint.MASTER]
ignore-paths=[ ".*/migrations/.*" ]
[tool.pylint.FORMAT]
max-module-lines=2000
[tool.pylint.DESIGN]
max-attributes=15
max-branches=15
[tool.pylint.BASIC]
no-docstring-rgx='^_|^Meta$|.+Serializer$|.+ViewSet$|^[Tt]est'
[tool.pylint.'MESSAGES CONTROL']
disable=[
"unnecessary-pass",
"import-error",
"too-few-public-methods"
]