-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (74 loc) · 1.76 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
[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"
[tool.poetry]
# Description
name = "noos-pyk"
version = "0.0.11"
description = "A simple, yet useful Python toolkit"
# Credentials
license = "MIT"
authors = ["Noos Energy <[email protected]>"]
homepage = "https://github.com/noosenergy/noos-python-kit"
# Package data
readme = "README.md"
packages = [
{ include = "noos_pyk", from = "src" },
]
# Distribution
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.11"
requests = "*"
websocket-client = { version = "*", optional = true }
[tool.poetry.extras]
websocket = ["websocket-client"]
[tool.poetry.dev-dependencies]
# Format
isort = "*"
black = "*"
# Linter
pydocstyle = "*"
flake8 = "*"
mypy = "*"
# Testing
pytest = "*"
pytest-mock = "*"
# Debugging
ipdb = "*"
ipython = "*"
[tool.black]
line-length = 99
target_version = ['py311']
[tool.isort]
line_length = 99
profile = "black"
multi_line_output = 3
lines_after_imports = 2
default_section = "THIRDPARTY"
known_first_party = "noos_pyk,tests"
sections = "STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
[tool.mypy]
install_types = true
non_interactive = true
incremental = true
warn_unused_configs = false
warn_unused_ignores = true
check_untyped_defs = true
warn_redundant_casts = true
ignore_missing_imports = true
[tool.pytest.ini_options]
python_files = "test_*.py"
python_classes = "Test"
python_functions = "test_*"
filterwarnings = "error::RuntimeWarning"
pythonpath = ["src"]
junit_family = "xunit2"
addopts = "--junitxml=.pytest_results/junit.xml"