Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nerfacc
Commits
882d9927
Commit
882d9927
authored
Feb 23, 2023
by
Ruilong Li
Browse files
restore hook; fix workflow instead
parent
1d2c2ed1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
.github/workflows/code_checks.yml
.github/workflows/code_checks.yml
+1
-1
.pre-commit-config.yaml
.pre-commit-config.yaml
+11
-11
No files found.
.github/workflows/code_checks.yml
View file @
882d9927
...
@@ -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
...
...
.pre-commit-config.yaml
View file @
882d9927
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment