-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
267 additions
and
120 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 |
---|---|---|
@@ -1,64 +1,51 @@ | ||
fail_fast: false | ||
default_language_version: | ||
python: python3 | ||
default_stages: | ||
- pre-commit | ||
- pre-push | ||
minimum_pre_commit_version: 2.12.0 | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
exclude: | | ||
(?x)( | ||
.github/workflows/latest-changes.jinja2 | ||
) | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- repo: https://github.com/psf/black | ||
rev: 22.6.0 | ||
hooks: | ||
- id: black-jupyter | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 4.0.1 | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v4.0.0-alpha.4 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-black==0.3.3 | ||
- flake8-typing-imports==1.10.0 | ||
language_version: python3 | ||
args: | ||
- --max-line-length=88 | ||
- --ignore=E203,W503,BLK100,TYP001 | ||
- id: prettier | ||
exclude: | | ||
(?x)( | ||
__init__.py | ||
docs/changelog.md | ||
) | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v2.6.2 | ||
hooks: | ||
- id: prettier | ||
- repo: https://github.com/kynan/nbstripout | ||
rev: 0.3.9 | ||
rev: 0.6.1 | ||
hooks: | ||
- id: nbstripout | ||
exclude: | | ||
(?x)( | ||
docs/examples/| | ||
docs/notes/ | ||
) | ||
- repo: https://github.com/Lucas-C/pre-commit-hooks | ||
rev: v1.1.9 | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.9.1 | ||
hooks: | ||
- id: forbid-crlf | ||
- id: remove-crlf | ||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v5.8.0 | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes] | ||
- id: ruff-format | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: isort | ||
args: ["--profile", "black"] | ||
- id: detect-private-key | ||
- id: check-ast | ||
- id: end-of-file-fixer | ||
exclude: | | ||
(?x)( | ||
.github/workflows/latest-changes.jinja2 | ||
) | ||
- id: mixed-line-ending | ||
args: [--fix=lf] | ||
- id: trailing-whitespace | ||
- id: check-case-conflict | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.940 | ||
rev: v1.14.1 | ||
hooks: | ||
- id: mypy | ||
- repo: https://github.com/pycqa/pydocstyle | ||
rev: 6.1.1 | ||
hooks: | ||
- id: pydocstyle | ||
args: # google style + __init__, see http://www.pydocstyle.org/en/stable/error_codes.html | ||
- --ignore=D100,D101,D102,D103,D106,D107,D203,D204,D213,D215,D400,D401,D403,D404,D406,D407,D408,D409,D412,D413 | ||
args: [--no-strict-optional, --ignore-missing-imports] | ||
additional_dependencies: ["types-requests", "types-attrs"] |
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,12 +1,13 @@ | ||
# laminci: Internal CI tools | ||
|
||
|
||
From PyPI (sometimes outdated): | ||
|
||
``` | ||
pip install laminci | ||
``` | ||
|
||
From GitHub: | ||
|
||
``` | ||
pip install git+https://github.com/laminlabs/laminci | ||
``` |
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,20 +1,18 @@ | ||
"""Internal CI tools. | ||
"""Lamin's CI tools. | ||
Import the package:: | ||
import laminci | ||
""" | ||
|
||
__version__ = "0.13.2" # denote a pre-release for 0.1.0 with 0.1a1 | ||
__version__ = "0.14.0" # denote a pre-release for 0.1.0 with 0.1a1 | ||
|
||
from . import db, nox | ||
from ._artifacts import upload_docs_artifact | ||
from ._docs import ( | ||
move_built_docs_to_docs_slash_project_slug, | ||
move_built_docs_to_slash_project_slug, | ||
) | ||
from ._docs_artifacts import upload_docs_artifact | ||
from ._env import get_package_name, get_schema_handle | ||
|
||
# backward compat | ||
upload_docs_dir = upload_docs_artifact | ||
from ._run_notebooks import run_notebooks |
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.