-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (58 loc) · 1.84 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
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "oresat-dxwifi"
description = "OreSat DxWiFi OLAF app"
readme = "README.md"
requires-python = ">=3.7"
license = {text = "GPL-3.0"}
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Embedded Systems",
]
dependencies = [
"oresat-configs",
"oresat-olaf>=3.0.0",
"v4l2py==2.1.0",
]
dynamic = ["version"]
[project.scripts]
oresat-dxwifi = "oresat_dxwifi.__main__:main"
[tool.setuptools.packages.find]
exclude = ["docs*"]
[tool.setuptools.package-data]
"*" = ["*.html"]
[tool.setuptools_scm]
write_to = "oresat_dxwifi/_version.py"
[tool.black]
line_length = 100
[tool.pylama]
format = "pylint"
skip = "*/.tox/*,*/.env/,*/.git/*,*/.github/*,*/build/*"
linters = "pycodestyle,pyflakes,pylint,mccabe,mypy,radon"
# C0103: Arguments are not snake_case naming style or too short
# E203: Whitespace before ':' (black does this)
# W0613: Unused argument
# R0902: Too many instance attributes
# R901: Too complex
# R0913: Too many arguments
# R0914: Too many local variables
# W1514: Using open without explicitly specifying an encoding
# W0707: Consider explicitly re-raising
# C901: Function is too complex
ignore = "C0103,E203,W0613,R0902,R901,R0913,R0914,W1514,W0707,C901"
max_line_length = 100
[[tool.mypy.overrides]]
module = "canopen,olaf,oresat_configs"
ignore_missing_imports = true
[tool.isort]
profile = "black"
line_length = 100