-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (72 loc) · 1.83 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
# SPDX-FileCopyrightText: 2022 Carnegie Mellon University
# SPDX-License-Identifier: 0BSD
[tool.poetry]
name = "olive2022"
version = "0.1.7.post.dev0"
description = "Edge-native virtual desktop application"
authors = [
"Carnegie Mellon University <[email protected]>",
"Jan Harkes <[email protected]>",
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/cmusatyalab/olive2022"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: X11 Applications",
"Intended Audience :: End Users/Desktop",
]
packages = [
{ include = "olive2022.py", from = "src" },
]
[tool.poetry.dependencies]
python = "^3.7"
pyyaml = "^6.0"
sinfonia-tier3 = "^0.7.0"
tqdm = "^4.64.1"
xdg = "^5.1.1"
yarl = "^1.8.1"
[tool.poetry.scripts]
olive2022 = "olive2022:main"
[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
flake8 = "^5.0.4"
poethepoet = "^0.16.5"
pre-commit = "^2.20.0"
tbump = "^6.9.0"
[tool.poetry.group.test.dependencies]
mypy = "^0.991"
pylint = {version = "^2.15.5", python = "^3.7.2"}
types-pyyaml = "^6.0.12.2"
types-tqdm = "^4.64.7.3"
[tool.isort]
py_version = 37
profile = "black"
[tool.black]
target-version = ["py37"]
[tool.mypy]
# Ensure full coverage
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
check_untyped_defs = true
# Restrict dynamic typing
disallow_any_generics = true
disallow_subclassing_any = true
warn_return_any = true
# Know exactly what you're doing
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
warn_unreachable = true
show_error_codes = true
# Explicit is better than implicit
no_implicit_optional = true
files = ["src"]
[tool.poe]
include = "tasks.toml"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"