mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-14 20:03:49 +08:00
Merge branch 'master' of github.com:ethanweber/mattport
This commit is contained in:
commit
f4d68d7055
1 file changed
+10
-3
@@ -1,12 +1,15 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '*.py'
|
||||
pull_request:
|
||||
paths:
|
||||
- '*.py'
|
||||
|
||||
jobs:
|
||||
flake8_py3:
|
||||
format_and_lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python
|
||||
@@ -16,7 +19,11 @@ jobs:
|
||||
architecture: x64
|
||||
- name: Checkout PyTorch
|
||||
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
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in new issue
Block a user