diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-08-17 15:19:27 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-08-17 15:19:27 -0300 |
commit | fb41d72d4762b8275d114a979192ffd65ece7be2 (patch) | |
tree | af964345185e12794ee2c03b2100fdcc3717540d | |
parent | 3209d7e68cb6608b662fae5b9814b10eb793a77e (diff) | |
parent | 0cbfcae1aa1d30bdfb651b5b4404af1bf8e91a06 (diff) |
Merge branch 'master' of gitlab.com:rogs/ute into refactor-to-class
-rw-r--r-- | .gitlab-ci.yml | 15 | ||||
-rwxr-xr-x | pyproject.toml | 2 | ||||
-rw-r--r-- | requirements.txt | 24 |
3 files changed, 38 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f4cd620..697c87d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,20 @@ 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: + - black --check src/ + - flake8 src/ + - isort -c src/ + +deploy_to_pypi: + stage: deploy + only: + - master + before_script: - pip install build twine + script: - python -m build - TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python3 -m twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml index 09c00ac..b6a8704 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ build-backend = "hatchling.build" [project] name = "ute_wrapper" -version = "1.0.0" +version = "1.0.1" authors = [ { name="Roger Gonzalez", email="roger@rogs.me" }, ] diff --git a/requirements.txt b/requirements.txt index b1f0ddc..54d3ffc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,14 +1,36 @@ +astpretty==3.0.0 +attrs==23.1.0 +black==23.7.0 certifi==2023.7.22 cfgv==3.4.0 charset-normalizer==3.2.0 +click==8.1.6 distlib==0.3.7 +eradicate==2.3.0 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 idna==3.4 +isort==5.12.0 +mccabe==0.7.0 +mypy-extensions==1.0.0 nodeenv==1.8.0 +packaging==23.1 +pathspec==0.11.2 platformdirs==3.10.0 pre-commit==3.3.3 -python-dotenv==1.0.0 +pycodestyle==2.11.0 +pyflakes==3.1.0 PyYAML==6.0.1 requests==2.31.0 urllib3==2.0.4 |