summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-31 22:35:06 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-31 22:35:06 -0500
commit8671ca100fae1f5b906c61dfdde7e9865dc44cf0 (patch)
tree2d35edb8d4cc02a9cdce650fcfd9006342f4754e /.github
parentf456b802754c3d1095b488d670bebba21018d823 (diff)
downloadcmd2-git-8671ca100fae1f5b906c61dfdde7e9865dc44cf0.tar.gz
Attempt to make flake8 and black play nicely
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yml2
-rw-r--r--.github/workflows/lint.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index e622df2f..cf26461b 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -25,4 +25,4 @@ jobs:
- name: Install python prerequisites
run: pip install -U --user pip setuptools setuptools-scm black
- name: Black
- run: python -m black
+ run: python -m black --check .
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 38ce75a8..b23c6ab9 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -25,4 +25,4 @@ jobs:
- name: Install python prerequisites
run: pip install -U --user pip setuptools setuptools-scm flake8
- name: Lint
- run: python -m flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ;
+ run: python -m flake8 .