-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (60 loc) · 1.78 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
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "oresat-cfc"
description = "OreSat CFC 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 = [
"numpy",
"opencv-python-headless==4.6.0.66",
"oresat-configs",
"oresat-olaf>=3.4.0",
"simple-pid",
"spidev",
"tifffile",
"matplotlib",
]
dynamic = ["version"]
[project.scripts]
oresat-cfc = "oresat_cfc.__main__:main"
[tool.setuptools.packages.find]
exclude = ["docs*"]
[tool.setuptools.package-data]
"*" = ["*.html"]
[tool.setuptools_scm]
write_to = "oresat_cfc/_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
ignore = "C0103,E203,W0613,R0902,R901,R0913,R0914"
max_line_length = 100
[[tool.mypy.overrides]]
module = "canopen,olaf,tifffile,spidev,oresat_configs,cv2"
ignore_missing_imports = true
[tool.isort]
profile = "black"
line_length = 100