Merge branch 'master' of gitlab.com:rogs/ute into refactor-to-class

This commit is contained in:
Roger Gonzalez 2023-08-17 15:19:27 -03:00
commit fb41d72d47
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
3 changed files with 38 additions and 3 deletions

View File

@ -1,7 +1,20 @@
image: python:latest image: python:latest
run: lint:
stage: test
before_script:
- pip install black flake8 isort flake8-bugbear flake8-builtins flake8-comprehensions flake8-tidy-imports flake8-eradicate flake8-print flake8-return flake8-use-fstring git+https://github.com/derrix060/flake8-expression-complexity.git
script: script:
- black --check src/
- flake8 src/
- isort -c src/
deploy_to_pypi:
stage: deploy
only:
- master
before_script:
- pip install build twine - pip install build twine
script:
- python -m build - python -m build
- TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python3 -m twine upload dist/* - TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python3 -m twine upload dist/*

View File

@ -45,7 +45,7 @@ build-backend = "hatchling.build"
[project] [project]
name = "ute_wrapper" name = "ute_wrapper"
version = "1.0.0" version = "1.0.1"
authors = [ authors = [
{ name="Roger Gonzalez", email="roger@rogs.me" }, { name="Roger Gonzalez", email="roger@rogs.me" },
] ]

View File

@ -1,14 +1,36 @@
astpretty==3.0.0
attrs==23.1.0
black==23.7.0
certifi==2023.7.22 certifi==2023.7.22
cfgv==3.4.0 cfgv==3.4.0
charset-normalizer==3.2.0 charset-normalizer==3.2.0
click==8.1.6
distlib==0.3.7 distlib==0.3.7
eradicate==2.3.0
filelock==3.12.2 filelock==3.12.2
flake8==6.1.0
flake8-bugbear==23.7.10
flake8-builtins==2.1.0
flake8-comprehensions==3.14.0
flake8-eradicate==1.5.0
flake8-expression-complexity @ git+https://github.com/derrix060/flake8-expression-complexity.git@f667ba943e502aa43b138dc28a678b0d3236a3b8
flake8-plugin-utils==1.3.3
flake8-print==5.0.0
flake8-return==1.2.0
flake8-tidy-imports==4.10.0
flake8-use-fstring==1.4
identify==2.5.26 identify==2.5.26
idna==3.4 idna==3.4
isort==5.12.0
mccabe==0.7.0
mypy-extensions==1.0.0
nodeenv==1.8.0 nodeenv==1.8.0
packaging==23.1
pathspec==0.11.2
platformdirs==3.10.0 platformdirs==3.10.0
pre-commit==3.3.3 pre-commit==3.3.3
python-dotenv==1.0.0 pycodestyle==2.11.0
pyflakes==3.1.0
PyYAML==6.0.1 PyYAML==6.0.1
requests==2.31.0 requests==2.31.0
urllib3==2.0.4 urllib3==2.0.4