Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 2263804

Browse files
authored
Merge pull request #54 from TankerHQ/dm/bump-pytest
Bump pytest and other deps
2 parents 656183c + 41d2336 commit 2263804

8 files changed

Lines changed: 92 additions & 94 deletions

File tree

.github/workflows/doc-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
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

.github/workflows/linters.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/safety.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
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

.github/workflows/tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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

mypy.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[mypy]
2-
mypy_path = stubs
3-
disallow_untyped_decorators = false
2+
files = cli_ui/**/*.py
3+
disallow_untyped_decorators = true
44
warn_unused_configs = true
55
disallow_subclassing_any = true
66
disallow_untyped_calls = true

poetry.lock

Lines changed: 81 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ mypy = "^0.770"
2323
pyflakes = "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"
3131
safety = "^1.9.0"
3232

3333
[build-system]

stubs/pytest.pyi

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)