2020-08-06 15:45:18 +02:00
|
|
|
[metadata]
|
|
|
|
license_file = LICENSE
|
2016-02-18 11:40:47 +01:00
|
|
|
|
2022-02-15 21:06:02 +01:00
|
|
|
# publish with: twine upload --sign dist/fdroidserver*.tar.gz
|
2016-02-18 11:40:47 +01:00
|
|
|
[aliases]
|
2022-02-15 21:06:02 +01:00
|
|
|
release = versioncheck sdist
|
2017-10-19 18:00:04 +02:00
|
|
|
|
|
|
|
# All this below is for Babel config. Ideally we would only use
|
|
|
|
# Babel, but it is still missing some key features that gettext gives
|
|
|
|
# us. So for now, this Babel setup is just to make it easy for Python
|
|
|
|
# people who are used to it. Babel is missing:
|
|
|
|
#
|
|
|
|
# * properly tagging various Python formats in the comments
|
|
|
|
# * --add-location=file
|
|
|
|
# * --join-existing
|
|
|
|
# * --sort-output on update
|
|
|
|
#
|
|
|
|
# So for now the canonical way to update the template and translation
|
|
|
|
# files is: `make -C locale`
|
|
|
|
|
|
|
|
[extract_messages]
|
|
|
|
keywords = _
|
|
|
|
charset = UTF-8
|
|
|
|
sort_output = true
|
|
|
|
no_location = true
|
|
|
|
add-comments = true
|
|
|
|
output_file = locale/fdroidserver.pot
|
|
|
|
msgid-bugs-address = https://gitlab.com/fdroid/fdroidserver/issues
|
|
|
|
|
|
|
|
[update_catalog]
|
|
|
|
output_dir = locale
|
|
|
|
input_file = locale/fdroidserver.pot
|
|
|
|
|
|
|
|
[init_catalog]
|
|
|
|
input_file = locale/fdroidserver.pot
|
|
|
|
output_dir = locale
|
|
|
|
|
|
|
|
[compile_catalog]
|
|
|
|
domain = fdroidserver
|
|
|
|
directory = locale
|
2021-06-21 07:09:13 +02:00
|
|
|
|
2021-06-25 06:42:17 +02:00
|
|
|
[pycodestyle]
|
2023-05-04 16:12:08 +02:00
|
|
|
ignore = E123,E203,E402,E501,W503
|
2021-06-25 06:42:17 +02:00
|
|
|
max-line-length = 88
|
|
|
|
|
2021-05-17 09:56:51 +02:00
|
|
|
[flake8]
|
2023-05-04 16:12:08 +02:00
|
|
|
ignore = E123,E203,E402,E501,W503
|
2021-06-21 07:09:13 +02:00
|
|
|
max-line-length = 88
|
|
|
|
|
2021-05-17 09:56:51 +02:00
|
|
|
# Settings for docstrings linter
|
|
|
|
# we use numpy stlye https://numpydoc.readthedocs.io/en/latest/format.html
|
|
|
|
# ignored errors are
|
|
|
|
# * D10*: Missing docstring *
|
|
|
|
# * rest are the conventions which are ignored by numpy conventions according to http://www.pydocstyle.org/en/stable/error_codes.html
|
|
|
|
[pydocstyle]
|
|
|
|
#convention = numpy # cannot be used in combination with ignore, so we list rules seperately.
|
2021-06-25 06:42:17 +02:00
|
|
|
ignore = D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D213,D402,D413,D415,D416,D417
|