Skip to content
Snippets Groups Projects
Commit 36f47704 authored by Remco Tukker's avatar Remco Tukker
Browse files

cleanup python dependencies, pin their versions, enable mypy and eslint recommended warnings

parent 418e5f82
No related branches found
No related tags found
1 merge request!17Feature/comp 170 improve dependencies part 1
......@@ -10,15 +10,14 @@ setup(
url='https://gitlab.geant.net/live-projects/compendium-v2',
packages=find_packages(),
install_requires=[
'jsonschema',
'flask',
'flask-cors',
'SQLAlchemy',
'alembic',
'psycopg2-binary',
'cryptography',
'openpyxl',
'click'
'alembic~=1.10',
'click~=8.1',
'jsonschema~=4.17',
'flask~=2.2',
'flask-cors~=3.0',
'openpyxl~=3.1',
'psycopg2-binary~=2.9',
'SQLAlchemy~=2.0',
],
include_package_data=True,
......
......@@ -18,7 +18,6 @@ commands =
coverage html
coverage report --fail-under 80
flake8
# Disable mypy in tox until build server supports python 3.9
# mypy compendium_v2/**/*.py test/*.py
mypy compendium_v2/**/*.py test/*.py
sphinx-build -M html docs/source docs/build
......@@ -9,6 +9,7 @@
"react-hooks"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment