Skip to content

Commit 0c7c05b

Browse files
Diego ArdilaDiego Ardila
authored andcommitted
Add pylint and mypy checks
1 parent 738e955 commit 0c7c05b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.circleci/config.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ jobs:
2222
name: Flake8 Lint Check # Uses setup.cfg for configuration
2323
command: |
2424
poetry run flake8 . --count --statistics
25-
# TODO: fix pylint. and add a mypy check.
26-
# - run:
27-
# name: Pylint Lint Check # Uses .pylintrc for configuration
28-
# command: |
29-
# pylint scaleapi
25+
- run:
26+
name: Pylint Lint Check # Uses .pylintrc for configuration
27+
command: |
28+
poetry pylint nucleus
29+
- run :
30+
name: MyPy typing check
31+
command: |
32+
poetry run mypy --ignore-missing-imports nucleus
3033
- run:
3134
name: Pytest Test Cases
3235
command: | # Run test suite, uses SCALE_TEST_API_KEY env variable

0 commit comments

Comments
 (0)