-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 1.49 KB
/
pyproject.toml
File metadata and controls
68 lines (60 loc) · 1.49 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
[tool.towncrier]
directory = "changes"
package = "ckan"
filename = "CHANGELOG.rst"
title_format = "v.{version} {project_date}"
issue_format = "`#{issue} <https://github.com/ckan/ckan/pull/{issue}>`_"
wrap = true
[[tool.towncrier.type]]
directory = 'migration'
name = 'Migration notes'
showcontent = true
[[tool.towncrier.type]]
directory = 'feature'
name = 'Major features'
showcontent = true
[[tool.towncrier.type]]
directory = 'misc'
name = 'Minor changes'
showcontent = true
[[tool.towncrier.type]]
directory = 'bugfix'
name = 'Bugfixes'
showcontent = true
[[tool.towncrier.type]]
directory = 'removal'
name = 'Removals and deprecations'
showcontent = true
[tool.isort]
sections = ['FUTURE', 'STDLIB', 'THIRDPARTY', 'FIRSTPARTY', 'LOCALFOLDER']
no_lines_before = ['LOCALFOLDER']
multi_line_output = 3
line_length = 79
known_first_party = ['ckan', 'ckanext']
known_third_party = ["cryptography", "flask", "jwt", "lxml", "mock", "requests", "setuptools", "urllib3"]
include_trailing_comma = true
skip = ['.venv']
[tool.black]
line_length = 79
target_version = ['py38']
language_version = 'python3.8'
include = '\.pyi?$'
exclude = ''' # # these folders wont be formatted by black
(
/(
\.git # root of the project
| \.__pycache__
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.venv
| venv
| ckan
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.autopep8]
max_line_length = 79
ignore = "E501,W6"