Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

⬆️ Mainteance: update requirements + pre-commit #45

Merged
36 changes: 30 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,42 @@ default_language_version:
python: python3.9
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: ["--maxkb=1024"]
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: debug-statements
- id: no-commit-to-branch
- repo: https://github.com/asottile/pyupgrade
rev: v2.34.0
hooks:
- id: pyupgrade
args:
- "--py39-plus"
name: upgrade code
- repo: https://github.com/hadialqattan/pycln
rev: v1.2.5
hooks:
- id: pycln
args: [--all, --expand-stars]
name: prune imports
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]
name: sort imports
- repo: https://github.com/psf/black
rev: 21.9b0
rev: 22.3.0
hooks:
- id: black
name: black format code
1 change: 0 additions & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ urllib3>=1.26.5 # https://github.com/advisories/GH
#
# Compatibility/coordination
#
tomli<2.0.0 # this is a constraint with black 21.12b0

# All backports libraries add environ markers
# NOTE: If >second dependency, this will annotate a marker in the compiled requirements file
Expand Down
77 changes: 44 additions & 33 deletions services/osparc-gateway-server/requirements/_base.txt
Original file line number Diff line number Diff line change
@@ -1,83 +1,94 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --output-file=requirements/_base.txt --strip-extras requirements/_base.in
#
aiodocker==0.21.0
# via -r requirements/_base.in
aiohttp==3.8.1
aiohttp==3.8.4
# via
# aiodocker
# dask-gateway-server
aiosignal==1.2.0
aiosignal==1.3.1
# via aiohttp
async-timeout==4.0.2
# via aiohttp
attrs==21.4.0
attrs==22.2.0
# via aiohttp
bokeh==2.4.2
bokeh==3.0.3
# via -r requirements/_base.in
cffi==1.15.0
cffi==1.15.1
# via cryptography
charset-normalizer==2.0.11
charset-normalizer==3.0.1
# via aiohttp
colorlog==6.6.0
colorlog==6.7.0
# via dask-gateway-server
cryptography==36.0.1
contourpy==1.0.7
# via bokeh
cryptography==39.0.1
# via dask-gateway-server
dask-gateway-server==0.9.0
dask-gateway-server==2023.1.1
# via -r requirements/_base.in
dnspython==2.2.0
dnspython==2.3.0
# via email-validator
email-validator==1.1.3
email-validator==1.3.1
# via pydantic
frozenlist==1.3.0
frozenlist==1.3.3
# via
# aiohttp
# aiosignal
greenlet==1.1.2
greenlet==2.0.2
# via sqlalchemy
idna==3.3
idna==3.4
# via
# email-validator
# yarl
jinja2==3.0.3
jinja2==3.1.2
# via bokeh
markupsafe==2.0.1
markupsafe==2.1.2
# via jinja2
multidict==6.0.2
multidict==6.0.4
# via
# aiohttp
# yarl
numpy==1.21.5
numpy==1.24.2
# via
# -c requirements/./constraints.txt
# bokeh
packaging==21.3
# contourpy
# pandas
packaging==23.0
# via bokeh
pandas==1.5.3
# via bokeh
pillow==9.0.0
pillow==9.4.0
# via bokeh
pycparser==2.21
# via cffi
pydantic==1.9.0
pydantic==1.10.5
# via -r requirements/_base.in
pyparsing==3.0.7
# via packaging
python-dotenv==0.19.2
python-dateutil==2.8.2
# via pandas
python-dotenv==1.0.0
# via pydantic
pytz==2022.7.1
# via pandas
pyyaml==6.0
# via bokeh
sqlalchemy==1.4.31
six==1.16.0
# via python-dateutil
sqlalchemy==2.0.4
# via -r requirements/_base.in
tornado==6.1
tornado==6.2
# via bokeh
traitlets==5.1.1
traitlets==5.9.0
# via dask-gateway-server
typing-extensions==4.0.1
typing-extensions==4.5.0
# via
# aiodocker
# bokeh
# pydantic
yarl==1.7.2
# sqlalchemy
xyzservices==2023.2.0
# via bokeh
yarl==1.8.2
# via aiohttp
Loading