This repository was archived by the owner on Feb 20, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 - name : Install and configure poetry
1919 run : |
2020 python -m pip install poetry
21- python -m poetry config virtualenvs.create false
2221
2322 - name : Prepare project for development
2423 run : python -m poetry install
Original file line number Diff line number Diff line change @@ -19,21 +19,10 @@ jobs:
1919 - name : Install and configure poetry
2020 run : |
2121 python -m pip install poetry
22- python -m poetry config virtualenvs.create false
2322
2423 - name : Prepare project for development
2524 run : python -m poetry install
2625
27- - name : Run black
26+ - name : Run lints
2827 run : |
29- python -m poetry run black --check .
30-
31- - name : Run mypy
32- run : |
33- MYPYPATH=stubs python -m poetry run mypy --ignore-missing-imports --strict cli_ui
34-
35- - name : Run pyflakes
36- run : |
37- python -m poetry run pyflakes cli_ui/__init__.py cli_ui/tests/test_cli_ui.py
38-
39-
28+ ./lint.sh
Original file line number Diff line number Diff line change 2121 - name : Install and configure poetry
2222 run : |
2323 python -m pip install poetry
24- python -m poetry config virtualenvs.create false
2524
2625 - name : Prepare project for development
2726 run : python -m poetry install
Original file line number Diff line number Diff line change @@ -24,12 +24,11 @@ jobs:
2424 - name : Install and configure poetry
2525 run : |
2626 python -m pip install poetry
27- python -m poetry config virtualenvs.create false
2827
2928 - name : Prepare project for development
3029 run : python -m poetry install
3130
3231 - name : Run tests
3332 run : |
34- python -m pytest --cov cli_ui
35- python -m codecov
33+ python -m poetry run pytest --cov cli_ui
34+ python -m poetry run codecov
Original file line number Diff line number Diff line change 11[mypy]
2- mypy_path = stubs
3- disallow_untyped_decorators = false
2+ files = cli_ui/**/*.py
3+ disallow_untyped_decorators = true
44warn_unused_configs = true
55disallow_subclassing_any = true
66disallow_untyped_calls = true
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ mypy = "^0.770"
2323pyflakes = " 2.1.1"
2424
2525# tests
26- attrs = " ^18.2.0 " # we need old attrs because we have old pytest
27- codecov = " ^2.0 "
28- coverage = " ^4.5.3 "
29- pytest = " 4 .0.1"
30- pytest-cov = " 2.7.1 "
26+ attrs = " ^19.3 "
27+ codecov = " ^2.1 "
28+ coverage = " ^5.2 "
29+ pytest = " ^6 .0.1"
30+ pytest-cov = " ^2.10 "
3131safety = " ^1.9.0"
3232
3333[build-system ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments