mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-13 11:24:00 +08:00
22 lines
459 B
YAML
22 lines
459 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
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: Python Pylin GitHub Action
|
|
uses: vcoder4c/git_pylint@v3
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |