We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f001b5 commit 1ef472bCopy full SHA for 1ef472b
.github/workflows/check.yml
@@ -32,7 +32,7 @@ jobs:
32
- name: install dependencies
33
run: pipenv sync --dev # Installs all deps, including dev deps, from Pipfile.lock.
34
- name: format
35
- run: pipenv run invoke fmt
+ run: pipenv run invoke fmtcheck
36
- name: lint
37
run: pipenv run invoke lint
38
- name: check types
tasks.py
@@ -35,6 +35,12 @@ def fmt(c):
c.run("mdformat doc")
+@task
39
+def fmtcheck(c):
40
+ """Checks if the code is formatted properly."""
41
+ c.run("black --check .")
42
+
43
44
@task
45
def lint(c):
46
"""Run the linter."""
0 commit comments