summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-01-16 17:52:25 +0200
committerHugo van Kemenade <hugovk@users.noreply.github.com>2023-01-16 18:03:33 +0200
commit8a8047438ef9c3a7ec4ea1fff34ffa3e497c9a06 (patch)
treeb76039d9ebb1b0789449b51dfea93b41a9259ae1 /.github/workflows/lint.yml
parent496c69c5328b366ff3b86e25652683e528eec034 (diff)
downloadgitpython-8a8047438ef9c3a7ec4ea1fff34ffa3e497c9a06.tar.gz
Lint with Flake8 via pre-commit
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 00000000..c78a4053
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,14 @@
+name: Lint
+
+on: [push, pull_request, workflow_dispatch]
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
+ with:
+ python-version: "3.x"
+ - uses: pre-commit/action@v3.0.0