-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
71 lines (62 loc) · 1.59 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
[project]
name = "inventree-part-import"
version = "1.8-pre"
description = "CLI to import parts from suppliers like DigiKey, LCSC, Mouser, etc. to InvenTree"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
]
license = "MIT"
authors = [{ name = "Bobbe", email = "[email protected]" }]
dependencies = [
"beautifulsoup4",
"click",
"cutie",
"digikey-api>=1.0",
"fake-useragent",
"inventree>=0.13.2",
"isocodes",
"mouser>=0.1.5",
"platformdirs>=3.2.0",
"pyyaml",
"requests",
"tablib[ods, xls, xlsx]",
"thefuzz",
]
[project.urls]
Homepage = "https://github.com/30350n/inventree_part_import"
[project.scripts]
inventree-part-import = "inventree_part_import.cli:inventree_part_import"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
exclude = [
".git",
".github/",
".gitignore",
".gitmodules",
".pre-commit-config.yaml",
"tests/",
"tasks.py",
]
[project.optional-dependencies]
dev = ["autopep8", "pre-commit", "pytest"]
[tool.autopep8]
aggressive = 3
max_line_length = 96
ignore = "E12,E13,E201,E202,E221,E241,E261,E302,E305,E401,E402"
[tool.isort]
line_length = 96
lines_after_imports = 1
combine_straight_imports = true
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning:fake_useragent.*"]
pythonpath = ["."]
[tool.codespell]
ignore-words-list = "leaded"