mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
setup: introduce ruff
* remove unused .tx. the translation is done without transifex * remove unused files * remove unused checks because ruff took over
This commit is contained in:
19
setup.cfg
19
setup.cfg
@@ -25,21 +25,17 @@ classifiers =
|
||||
Programming Language :: Python
|
||||
Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
||||
Topic :: Software Development :: Libraries :: Python Modules
|
||||
Programming Language :: Python :: 3.9
|
||||
Programming Language :: Python :: 3.10
|
||||
Programming Language :: Python :: 3.11
|
||||
Programming Language :: Python :: 3.12
|
||||
Development Status :: 3 - Alpha
|
||||
|
||||
[options]
|
||||
include_package_data = True
|
||||
packages = find:
|
||||
python_requires = >=3.9
|
||||
python_requires = >=3.12
|
||||
zip_safe = False
|
||||
install_requires =
|
||||
# keep this dependencies identical to invenio-app-rdm
|
||||
invenio-cache>=1.1.1,<2.0.0
|
||||
invenio-i18n>=2.0.0,<3.0.0
|
||||
invenio-cache>=1.1.1
|
||||
invenio-i18n>=2.0.0
|
||||
invenio-rdm-records>=4.0.0
|
||||
|
||||
[options.extras_require]
|
||||
@@ -48,6 +44,7 @@ tests =
|
||||
invenio-search[opensearch2]>=2.1.0,<3.0.0
|
||||
pytest-black-ng>=0.4.0
|
||||
pytest-invenio>=2.1.0,<3.0.0
|
||||
ruff>=0.5.3
|
||||
Sphinx>=4.5.0
|
||||
|
||||
[options.entry_points]
|
||||
@@ -73,9 +70,6 @@ all_files = 1
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
||||
[pydocstyle]
|
||||
add_ignore = D401
|
||||
|
||||
[compile_catalog]
|
||||
directory = invenio_config_tugraz/translations/
|
||||
|
||||
@@ -98,10 +92,9 @@ output-dir = invenio_config_tugraz/translations/
|
||||
profile=black
|
||||
|
||||
[check-manifest]
|
||||
ignore =
|
||||
*-requirements.txt
|
||||
ignore = *-requirements.txt
|
||||
|
||||
[tool:pytest]
|
||||
addopts = --black --isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=invenio_config_tugraz --cov-report=term-missing tests invenio_config_tugraz
|
||||
addopts = --black --cov=invenio_config_tugraz --cov-report=term-missing
|
||||
testpaths = tests invenio_config_tugraz
|
||||
live_server_scope = module
|
||||
|
||||
Reference in New Issue
Block a user