-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
129 lines (106 loc) · 2.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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# Project configuration
title = "Virtual Warehouse"
[owner]
name = "Břetislav Hájek"
### Build using poetry ###
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "virtual-warehouse"
version = "0.2.1"
description = "Warehouse visualisation app"
authors = ["Břetislav Hájek <[email protected]>"]
readme = "README.md"
repository = "https://github.com/Breta01/virtual-warehouse"
documentation = "https://virtual-warehouse.readthedocs.io"
keywords = ["visualization", "warehouse"]
packages = [
{ include = "virtual_warehouse" },
]
include = ["virtual_warehouse/main_rc.py"]
classifiers = [
"Programming Language :: Python :: 3",
]
[tool.poetry.dependencies]
python = ">=3.6,<3.9"
PySide2 = "5.15.0"
xlrd = "2.0.1"
Owlready2 = "0.30"
rdflib = "^5.0.0"
python-xlsxio = "^0.1.3"
# Only because rdflib is missing this package
requests = "^2.25.1"
[tool.poetry.scripts]
virtual-warehouse = "virtual_warehouse.__main__:main"
### Briefcase packaging section - EXPERIMENtAL ###
[tool.briefcase]
project_name = "virtual_warehouse"
bundle = "com.bretahajek.virtual-warehouse"
version = "0.2.1"
url = "https://github.com/Breta01/virtual-warehouse"
license = ""
author = 'Bretislav Hajek'
author_email = "[email protected]"
[tool.briefcase.app.virtual_warehouse]
formal_name = "Virtual Warehouse"
description = "Warehouse visualisation app"
icon = "virtual_warehouse/resources/images/icon"
sources = ['virtual_warehouse']
requires = [
'PySide2==5.15.0',
'xlrd==2.0.1',
'Owlready2==0.30',
'rdflib',
'python-xlsxio',
# Only because rdflib is missing this package
'requests',
]
[tool.briefcase.app.virtual_warehouse.macOS]
requires = []
[tool.briefcase.app.virtual_warehouse.linux]
requires = []
system_requires = []
[tool.briefcase.app.virtual_warehouse.windows]
requires = []
# Mobile deployments
[tool.briefcase.app.virtual_warehouse.iOS]
requires = []
[tool.briefcase.app.virtual_warehouse.android]
requires = []
### Linting and Code Style ###
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
line-length = 88
target-version = ['py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
# Update pylint as soon as possible
[tool.pylint.'MASTER']
extension-pkg-whitelist='PySide2'
[tool.pylint.'BASIC']
variable-rgx='[a-z_][a-z0-9_]{0,30}$'
[tool.pylint.'FORMAT']
max-line-length=88