-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
174 lines (148 loc) · 3.73 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
[project]
name = "lbsntransform"
authors = [{name = "Alexander Dunkel", email = "[email protected]"}]
license = {text = "GNU GPLv3 or any higher"}
description = "Location based social network (LBSN) data structure format & transfer tool"
requires-python = ">=3.8"
dependencies = [
"lbsnstructure>=1.2.0",
"protobuf>=4.21.9,<5",
"psycopg2-binary",
"ppygis3",
"shapely<2.0.0",
"emoji>=2.0.0",
"requests",
"geos",
"numpy",
"requests",
"regex",
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://gitlab.vgiscience.de/lbsn/lbsntransform"
[project.optional-dependencies]
nltk_stopwords = ["nltk"]
[project.scripts]
lbsntransform = "lbsntransform.__main__:main"
[tool.semantic_release]
assets = []
version_variables = [
"src/lbsntransform/version.py:__version__",]
version_source = "commit"
commit_version_number = true
branch = "master"
build_command = "python -m build"
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
logging_use_named_masks = false
major_on_zero = true
tag_format = "v{version}"
[tool.semantic_release.branches.main]
match = "(master)"
prerelease = false
prerelease_token = "rc"
[tool.semantic_release.changelog]
template_dir = "templates"
changelog_file = "CHANGELOG.md"
exclude_commit_patterns = []
[tool.semantic_release.changelog.environment]
block_start_string = "{%"
block_end_string = "%}"
variable_start_string = "{{"
variable_end_string = "}}"
comment_start_string = "{#"
comment_end_string = "#}"
trim_blocks = false
lstrip_blocks = false
newline_sequence = "\n"
keep_trailing_newline = false
extensions = []
autoescape = true
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
[tool.semantic_release.remote]
name = "origin"
type = "github"
ignore_token_for_push = false
[tool.semantic_release.remote.token]
env = "GH_TOKEN"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true
[tool.setuptools.package-data]
"*" = ["README.md"]
[tool.setuptools.packages.find]
where = ["src"]
include = [
"lbsntransform",
"lbsntransform.*",
]
namespaces = false
[tool.setuptools.dynamic]
version = {attr = "lbsntransform/version.__version__"}
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.vscode
| _build
| buck-out
| build
| dist
| scripts/
| mkdocs_env/
| lbsntransform_env/
| dev/
| src/lbsntransform/config/config.py
)/
'''
[tool.isort]
profile = "black"
known_first_party = ["lbsntransform"]
line_length = 88
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["src/lbsnstransform", "tests"]
[tool.mypy]
# Error output
show_column_numbers = true
show_error_codes = true
show_error_context = true
show_traceback = true
pretty = true
check_untyped_defs = false
# Warnings
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
files = ["src", "tests"]
[tool.pylint.format]
max-line-length = 88
[tool.pylint.message_control]
enable = ["c-extension-no-member", "no-else-return"]
[tool.pylint.variables]
dummy-variables-rgx = "_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_"
ignored-argument-names = "_.*|^ignored_|^unused_|args|kwargs"
[tool.codespell]
ignore-words-list = " "