File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,24 @@ version: 2.1
4
4
jobs :
5
5
build_test :
6
6
docker :
7
- - image : cimg/ python:3.6
7
+ - image : python:3.9-slim-buster
8
8
resource_class : small
9
9
steps :
10
10
- checkout # checkout source code to working directory
11
11
- run :
12
12
name : Install Environment Dependencies
13
- command : | # install env dependencies
13
+ command : | # install dependencies
14
+ pip install --upgrade pip
14
15
pip install poetry
15
16
poetry install
16
17
- run :
17
18
name : Black Formatting Check # Only validation, without re-formatting
18
19
command : |
19
- black --check -t py36 .
20
+ poetry run black --check -t py36 .
20
21
- run :
21
22
name : Flake8 Lint Check # Uses setup.cfg for configuration
22
23
command : |
23
- flake8 . --count --statistics
24
+ poetry run flake8 . --count --statistics
24
25
# TODO: fix pylint. and add a mypy check.
25
26
# - run:
26
27
# name: Pylint Lint Check # Uses .pylintrc for configuration
You can’t perform that action at this time.
0 commit comments