forked from pyinstaller/pyinstaller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
114 lines (98 loc) · 2.49 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
[tool.ruff]
exclude = [
".git",
"bootloader",
"build",
"dist",
"doc/_build",
"doc/conf.py",
"PyInstaller/lib",
"tests/functional/data/name_clash_with_entry_point",
"tests/functional/data/sphinx/conf.py",
"tests/unit/test_modulegraph",
# These two files intentionally contains invalid UTF-8 character
"tests/functional/modules/pyi_module_with_invalid_encoding/mymodule1.py",
"tests/functional/modules/pyi_module_with_invalid_encoding/mymodule2.py",
]
line-length=120
lint.select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
]
output-format = "full"
[tool.towncrier]
filename = "doc/CHANGES.rst"
directory = "news"
template = "news/_template.rst"
underlines = "-~^"
wrap = true
package = "PyInstaller"
title_format = "{version} ({project_date})"
[[tool.towncrier.section]]
path = ""
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bugfix"
showcontent = true
[[tool.towncrier.type]]
directory = "breaking"
name = "Incompatible Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "hooks"
name = "Hooks"
showcontent = true
[[tool.towncrier.type]]
directory = "bootloader"
name = "Bootloader"
showcontent = true
[[tool.towncrier.type]]
directory = "moduleloader"
name = "Module Loader"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "process"
name = "Project & Process"
showcontent = true
[[tool.towncrier.type]]
directory = "core"
name = "PyInstaller Core"
showcontent = true
[[tool.towncrier.type]]
directory = "tests"
name = "Test-suite and Continuous Integration"
showcontent = true
[[tool.towncrier.type]]
directory = "build"
name = "Bootloader build"
showcontent = true
[tool.yapf]
indent_width = 4
column_limit = 120
dedent_closing_brackets = true
spaces_before_comment = "2"
space_between_ending_comma_and_closing_bracket = 0
coalesce_brackets = true
blank_line_before_nested_class_or_def = false
[build-system]
# Tells pip to install wheel before trying to install PyInstaller
# from an sdist or from Github.
# Installing without wheel uses legacy `python setup.py install`
# which has issues with unicode paths.
requires = [
"wheel",
"setuptools >= 42.0.0",
]