Skip to content

Commit

Permalink
Add python code checks to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteF committed Feb 9, 2023
1 parent 5e2936c commit 532f10a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ orbs:
parameters:
image_suffix:
type: string
default: '-v7e4468f'
default: '-dev-a8b1f56'
pg13_version:
type: string
default: '13.9'
Expand Down Expand Up @@ -157,8 +157,17 @@ jobs:
steps:
- checkout
- run:
name: 'Check Style'
name: 'Check C Style'
command: citus_indent --check
- run:
name: 'Check Python style'
command: black --check .
- run:
name: 'Check Python import order'
command: isort --check .
- run:
name: 'Check Python lints'
command: flake8 .
- run:
name: 'Fix whitespace'
command: ci/editorconfig.sh && git diff --exit-code
Expand Down

0 comments on commit 532f10a

Please sign in to comment.