Commit 882d9927 authored by Ruilong Li's avatar Ruilong Li
Browse files

restore hook; fix workflow instead

parent 1d2c2ed1
...@@ -21,7 +21,7 @@ jobs: ...@@ -21,7 +21,7 @@ jobs:
python-version: "3.8.12" python-version: "3.8.12"
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install isort black pip install isort==5.10.1 black[jupyter]==22.3.0
- name: Run isort - name: Run isort
run: isort docs/ nerfacc/ scripts/ examples/ tests/ --profile black --skip examples/pycolmap --line-length 80 --check run: isort docs/ nerfacc/ scripts/ examples/ tests/ --profile black --skip examples/pycolmap --line-length 80 --check
- name: Run Black - name: Run Black
......
...@@ -7,15 +7,15 @@ repos: ...@@ -7,15 +7,15 @@ repos:
- id: check-yaml - id: check-yaml
- id: check-merge-conflict - id: check-merge-conflict
- id: requirements-txt-fixer - id: requirements-txt-fixer
# - repo: https://github.com/psf/black - repo: https://github.com/psf/black
# rev: 22.10.0 rev: 22.10.0
# hooks: hooks:
# - id: black - id: black
# language_version: python3.8.12 language_version: python3.8.12
# args: # arguments to configure black args: # arguments to configure black
# - --line-length=80 - --line-length=80
# - repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
# rev: 5.10.1 rev: 5.10.1
# hooks: hooks:
# - id: isort - id: isort
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment