瀏覽代碼

Run github actions on PRs

Fix naming of flake8 config file
Benjamin Gleitzman 4 年之前
父節點
當前提交
6020732bc1
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 3 0
      .flake8
  2. 3 0
      .github/workflows/python-non-master.yml

+ 3 - 0
.flake8

@@ -0,0 +1,3 @@
+[flake8]
+max-line-length = 119
+ignore = E9,F63,F7,F82,E402

+ 3 - 0
.github/workflows/python-non-master.yml

@@ -5,6 +5,9 @@ on:
     branches:
       - '*'
       - '!master'
+  pull_request:
+    branches:
+      - 'master'
 
 jobs:
   build: