-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
111 lines (98 loc) · 1.93 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
[tool.poetry]
name = "squad"
version = "0.1.0"
description = "Application for controlling Small Quadruped (Squad) robot."
authors = ["Douglas Daly <me@douglasdaly.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.9,<3.10"
euclid = "^1.2"
msgspec = "^0.5.0"
numpy = "^1.22.1"
pyserial = "^3.5"
python-dotenv = "^0.19.2"
pytz = "^2022.1"
pyzmq = "^22.3.0"
[tool.poetry.dev-dependencies]
black = "^21.12b0"
coverage = "^6.2"
flake8 = "^4.0.1"
ipykernel = "^6.7.0"
isort = "^5.10.1"
matplotlib = "^3.5.1"
mypy = "^0.931"
pandas = "^1.4.1"
pre-commit = "^2.17.0"
pybullet = "^3.2.1"
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
pytest-mypy = "^0.8.1"
pytest-sugar = "^0.9.4"
Sphinx = "^4.4.0"
sphinx-material = "^0.0.35"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 79
atomic = true
include_trailing_comma = true
force_sort_within_sections = true
lines_after_imports = 2
use_parentheses = true
src_paths = ["src/squad", "tests"]
honor_noqa = true
skip_gitignore = true
[tool.mypy]
check_untyped_defs = true
ignore_errors = false
ignore_missing_imports = true
strict_optional = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
[tool.coverage.run]
branch = true
relative_files = true
omit = [
"**/__init__.py",
"tests/*",
"**/__main__.py",
]
[tool.coverage.report]
show_missing = true
ignore_errors = true
omit = [
"**/__init__.py",
"tests/*",
"**/__main__.py",
]
exclude_lines = [
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if TYPE_CHECKING:",
"def __repr__",
"@(abc\\.)?abstractmethod",
"\\.\\.\\.$$",
"if __name__ == \"__main__\":",
]