Skip to content

Commit 94058fb

Browse files
authored
install flake8 before test-pypi install (#5)
* install flake8 before test-pypi install
1 parent 128d8dc commit 94058fb

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/workflows/ci-cd.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ jobs:
9595
python-version: ${{ matrix.python-version }}
9696
- name: Run check
9797
run: |
98-
python -m pip install flake8 ${{ needs.constants.outputs.package_name }}==${{ needs.constants.outputs.package_version }} --index-url https://test.pypi.org/simple/
98+
python -m pip install flake8
99+
python -m pip install ${{ needs.constants.outputs.package_name }}==${{ needs.constants.outputs.package_version }} --index-url https://test.pypi.org/simple/
99100
echo '"""Docstring."""' > test_.py
100101
flake8 test_.py
101102
release-pypi:

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## [v1.0.1] - 2022-12-23
5+
## [v1.0.2] - 2022-12-23
66

77
- Fix missing toml dependency for Python 3.10 and earlier
88

@@ -20,4 +20,4 @@
2020

2121
[//]: # "Release links"
2222
[v1.0.0]: https://github.com/jdkandersson/flake8-test-docs/releases/v1.0.0
23-
[v1.0.1]: https://github.com/jdkandersson/flake8-test-docs/releases/v1.0.1
23+
[v1.0.2]: https://github.com/jdkandersson/flake8-test-docs/releases/v1.0.2

poetry.lock

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "flake8-test-docs"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
description = "A linter that checks test docstrings for the arrange/act/assert structure"
55
authors = ["David Andersson <david@jdkandersson.com>"]
66
license = "Apache 2.0"

0 commit comments

Comments
 (0)