mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-15 20:33:59 +08:00
Reformat missing files
This commit is contained in:
1 parent
4485a00e2a
commit
0061b59b79
4 files changed
+11
-42
No files matched your search
@@ -1,4 +1,4 @@
|
||||
name: Format Lint and Test
|
||||
name: Check code for formating and run tests.
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -1,29 +0,0 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '*.py'
|
||||
pull_request:
|
||||
paths:
|
||||
- '*.py'
|
||||
|
||||
jobs:
|
||||
format_and_lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8.12
|
||||
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 }}
|
||||
Reference in new issue
Block a user