Merge branch 'master' of github.com:ethanweber/mattport

This commit is contained in:
Ethan Weber committed 2022-04-02 20:17:11 +00:00
commit f4d68d7055
1 file changed
+9 -2
+9 -2
View File
@@ -4,9 +4,12 @@ on:
push: push:
paths: paths:
- '*.py' - '*.py'
pull_request:
paths:
- '*.py'
jobs: jobs:
flake8_py3: format_and_lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup Python - name: Setup Python
@@ -16,7 +19,11 @@ jobs:
architecture: x64 architecture: x64
- name: Checkout PyTorch - name: Checkout PyTorch
uses: actions/checkout@master uses: actions/checkout@master
- name: Python Pylin GitHub Action - name: Run Black
uses: psf/black@stable
with:
options: "--check --verbose --line-length=120"
- name: Python Pylint GitHub Action
uses: vcoder4c/git_pylint@v3 uses: vcoder4c/git_pylint@v3
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}