Files
nerfstudio/.github/workflows/lint.yml
T
Workflow config file is invalid. Please check your config file: go-yaml load error in parser (while parsing a block mapping) at L1.C1-L4.C5: did not find expected key
2022-03-30 15:23:07 -07:00

25 lines
599 B
YAML

name: Lint
on: [push, pull_request]
paths:
- '*.py'
jobs:
flake8_py3:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.7.4
architecture: x64
- name: Checkout PyTorch
uses: actions/checkout@master
- 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 }}