-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #190 from icenet-ai/v0.2.7_dev
V0.2.7 dev
- Loading branch information
Showing
69 changed files
with
3,367 additions
and
2,313 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
exclude: (LICENSE|README.md|setup.py) | ||
repos: | ||
# General pre-commit hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
language_version: python3 | ||
|
||
# # isort - Sorting imports | ||
# - repo: https://github.com/pycqa/isort | ||
# rev: 5.12.0 | ||
# hooks: | ||
# - id: isort | ||
# args: ["--filter-files"] | ||
|
||
# yapf - is doing my head in with making modifications, so removing as it make non-pep8 | ||
# compliant changes | ||
#- repo: https://github.com/google/yapf | ||
# rev: v0.40.2 | ||
# hooks: | ||
# - id: yapf | ||
# name: "yapf" | ||
# args: ["--in-place", "--parallel"] | ||
# exclude: "docs/" | ||
|
||
# ruff - Linting | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.6 | ||
hooks: | ||
- id: ruff | ||
args: [] | ||
|
||
- repo: local | ||
hooks: | ||
# Run pytest | ||
- id: pytest | ||
name: Run pytest | ||
entry: pytest | ||
language: system | ||
pass_filenames: false |
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,6 @@ | ||
line-length = 120 | ||
|
||
[lint] | ||
select = ["E", "F"] | ||
ignore = ["E721"] | ||
exclude = ["setup.py"] |
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
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
Oops, something went wrong.