-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (61 loc) · 1.39 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
[project]
name = "spell-checker"
version = "0.0.2"
authors = [
{name = "Charles Patel", email = "charlespatel007@yahoo.com"},
]
description = "A typo checker in docstrings and inline comments"
readme = "README.md"
requires-python = ">=3.10"
dependencies = ["textblob==0.17.1"]
[project.optional-dependencies]
dev = [
"bandit==1.7.4",
"black==22.8.0",
"flake8==5.0.4",
"isort==5.10.1",
"mypy==0.982",
"pytest==7.1.3",
"safety==1.9.0",
"toml==0.10.1",
]
[project.scripts]
spell = "spell.main:main"
[tool.setuptools]
packages = ["spell", "assets"]
[tool.setuptools.package-data]
assets = ["common", "latin_abbrev", "std_lib_names", "tech_words"]
[tool.black]
line-length = 110
target_version = ["py310"]
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git/ # root of the project
| \.mypy_cache/
| \.egg-info
| build
| __pycache__
)
)
'''
[tool.isort]
profile = "black"
line_length = 110
combine_as_imports = true
multi_line_output = "VERTICAL_HANGING_INDENT"
[tool.mypy]
python_version = "3.10"
namespace_packages = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
strict_equality = true
implicit_reexport = false