-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (45 loc) · 1 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
[tool.poetry]
name = "ctci6"
version = "0.1.0"
description = "Cracking the Coding Interview 6th Edition"
authors = ["Tuan Pham <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.10"
black = "~23.1.0"
flake8 = "~6.0.0"
isort = "~5.12.0"
mypy = "~1.1.1"
pylint = "~2.17.0"
pytest = "~7.2.2"
[tool.isort]
profile = "black"
[tool.mypy]
# 3rd party import
ignore_missing_imports = true
# dynamic typing
disallow_any_unimported = false
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_generics = false
disallow_subclassing_any = true
# platform
python_version = "3.10"
# untyped
disallow_untyped_defs = true
disallow_incomplete_defs = true
# None and Optional
no_implicit_optional = true
# Warnings
warn_return_any = false
warn_unreachable = true
# Misc
pretty = true
[tool.pylint]
disable = "C0114, C0115, C0116"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"