-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix import * Update test_model.py * delete unused files * pre-commit * fix import * fix import * fix imports Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * fix jit error Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * disable --failfast so we can check all failure Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * ignore RUF005 Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * seed Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * fix seed Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> --------- Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> Co-authored-by: Duo <50307526+iProzd@users.noreply.github.com> Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
- Loading branch information
1 parent
05c3f9d
commit 05149b1
Showing
160 changed files
with
28,112 additions
and
25,170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SPDX-License-Identifier: LGPL-3.0-or-later |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
exclude: "^.+\\.pth$" | ||
- id: end-of-file-fixer | ||
exclude: "^.+\\.pth$" | ||
- id: check-yaml | ||
- id: check-json | ||
- id: check-added-large-files | ||
args: ['--maxkb=1024', '--enforce-all'] | ||
- id: check-merge-conflict | ||
- id: check-symlinks | ||
- id: check-toml | ||
# Python | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
files: \.py$ | ||
exclude: ^source/3rdparty | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
# Ruff version. | ||
rev: v0.1.13 | ||
hooks: | ||
- id: ruff | ||
args: ["--fix"] | ||
exclude: ^source/3rdparty | ||
types_or: [python, pyi, jupyter] | ||
- id: ruff-format | ||
exclude: ^source/3rdparty | ||
types_or: [python, pyi, jupyter] | ||
# numpydoc | ||
- repo: https://github.com/Carreau/velin | ||
rev: 0.0.12 | ||
hooks: | ||
- id: velin | ||
args: ["--write"] | ||
exclude: ^source/3rdparty | ||
# Python inside docs | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: 1.16.0 | ||
hooks: | ||
- id: blacken-docs | ||
# C++ | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v17.0.6 | ||
hooks: | ||
- id: clang-format | ||
exclude: ^source/3rdparty|source/lib/src/gpu/cudart/.+\.inc | ||
# CSS | ||
- repo: https://github.com/pre-commit/mirrors-csslint | ||
rev: v1.0.5 | ||
hooks: | ||
- id: csslint | ||
# Shell | ||
- repo: https://github.com/scop/pre-commit-shfmt | ||
rev: v3.7.0-4 | ||
hooks: | ||
- id: shfmt | ||
# CMake | ||
- repo: https://github.com/cheshirekow/cmake-format-precommit | ||
rev: v0.6.13 | ||
hooks: | ||
- id: cmake-format | ||
#- id: cmake-lint | ||
# license header | ||
- repo: https://github.com/Lucas-C/pre-commit-hooks | ||
rev: v1.5.4 | ||
hooks: | ||
# C++, js | ||
- id: insert-license | ||
files: \.(c|cc|cpp|js|ts|h|hpp)$ | ||
args: | ||
- --license-filepath | ||
- .license-header.txt | ||
- --comment-style | ||
- // | ||
- --no-extra-eol | ||
exclude: ^source/3rdparty|source/lib/src/gpu/cudart/.+\.inc | ||
# CSS | ||
- id: insert-license | ||
files: \.(css|scss)$ | ||
args: | ||
- --license-filepath | ||
- .license-header.txt | ||
- --comment-style | ||
- /*| *| */ | ||
- --no-extra-eol | ||
# Python | ||
- id: insert-license | ||
files: \.(py|pyx)$ | ||
args: | ||
- --license-filepath | ||
- .license-header.txt | ||
- --comment-style | ||
- "#" | ||
- --no-extra-eol | ||
exclude: ^source/3rdparty | ||
# HTML | ||
- id: insert-license | ||
files: \.(html|vue|xml)$ | ||
args: | ||
- --license-filepath | ||
- .license-header.txt | ||
- --comment-style | ||
- <!--| ~| --> | ||
- --no-extra-eol | ||
ci: | ||
autoupdate_branch: devel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
try: | ||
from ._version import version as __version__ | ||
except ImportError: | ||
from .__about__ import ( | ||
__version__, | ||
) | ||
from .__about__ import __version__ as __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later |
Oops, something went wrong.