-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (72 loc) · 1.91 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (72 loc) · 1.91 KB
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "aphelion-editor"
version = "0.6.0"
description = "A professional, layer-based image editor for Linux."
readme = "README.md"
authors = [
{ name="RecursiveIntell", email="team@aphelion.org" },
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Topic :: Multimedia :: Graphics :: Editors :: Raster-Based",
]
dependencies = [
"PySide6>=6.0",
"numpy>=1.20",
"scipy>=1.7",
"pycairo>=1.20",
]
requires-python = ">=3.10"
[project.urls]
"Homepage" = "https://github.com/RecursiveIntell/Aphelion"
"Bug Tracker" = "https://github.com/RecursiveIntell/Aphelion/issues"
[project.scripts]
aphelion = "aphelion.app:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["aphelion*"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
show_error_codes = true
# Start with these modules that are already well-typed
[[tool.mypy.overrides]]
module = [
"aphelion.core.types",
"aphelion.core.logging",
"aphelion.core.events",
"aphelion.core.event_bus",
"aphelion.core.plugin_api",
"aphelion.viewmodels.*",
"aphelion.ui.dialogs.controls",
"aphelion.ui.dialogs.base_dialog",
"aphelion.tools.brush_base",
"aphelion.tools.drag_base",
"aphelion.utils.flood_fill",
]
disallow_untyped_defs = true
disallow_incomplete_defs = true
# Gradually migrate other modules
[[tool.mypy.overrides]]
module = [
"aphelion.core.*",
"aphelion.tools.*",
"aphelion.effects.*",
]
disallow_untyped_defs = false
check_untyped_defs = true