Skip to content

Commit f3c353b

Browse files
authored
Merge pull request #17 from funkelab/update_workflows
Run mypy and pre-commit fewer times
2 parents 4a28a20 + 28fe3c3 commit f3c353b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/mypy.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Python mypy
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
48

59
jobs:
610
static-analysis:

.pre-commit-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ ci:
33
autofix_commit_msg: "style(pre-commit.ci): auto fixes [...]"
44
autoupdate_commit_msg: "ci(pre-commit.ci): autoupdate"
55

6-
default_install_hook_types: [pre-commit]
7-
86
repos:
97
- repo: https://github.com/pre-commit/pre-commit-hooks
108
rev: v3.2.0

0 commit comments

Comments
 (0)