-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (56 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
[tool.bandit]
[tool.black]
line-length = 100
target-version = ['py311']
skip-string-normalization = true
extend-exclude='''
(
src/hd_active/ui/forms
| \.venv.*
| \venv.*
)
'''
[tool.isort]
extend_skip = ['src/hd_active/ui/forms']
profile = 'black'
sections = 'FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER'
skip_glob = ['**/.venv*', '**/venv*', '/build']
[tool.pytest.ini_options]
# Markers: See documentation on what markers represent.
markers = ['windows']
testpaths = ['tests']
[tool.mypy]
# Technical notes on exclusions:
# 1 The regex for all folders needs to be in a one line string.
# 2 The `.` doesn't need to be escaped. Escape with `\\.` for a fully compatible regex.
exclude = '^venv*|^.venv*|.git|.eggs|build|dist|.cache|.pytest_cache|.mypy_cache|.vscode|.idea|tasks.py|src/ui/forms'
python_version = '3.11'
warn_return_any = true
warn_unused_configs = true
# Disable the warning below, from type hinting variables in a function.
# By default, the bodies of untyped functions are not checked, consider using --check-untyped-defs
disable_error_code = 'annotation-unchecked'
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ['invoke', 'factory', 'pytest_check', 'pytest_params', 'PySide6.*']
[build-system]
requires = ['flit_core >=3.2,<4']
build-backend = 'flit_core.buildapi'
[project]
name = 'hd_active'
version = '0.1.1'
description = 'Prevent external HDs from becoming inactive (sleeping).'
readme = 'README.md'
authors = [{name = 'Joao Coelho'}]
license = {file = 'LICENSE.txt'}
dependencies = ['pyside6']
classifiers = [
"License :: OSI Approved :: MIT License",
]
[project.urls]
Home = 'https://github.com/joaonc/hd_active'
Documentation = 'https://joaonc.github.io/hd_active'
[project.scripts]
hd_active = 'hd_active.main:main'
[tool.flit.module]
name = 'hd_active'