Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .github/workflows/lint.yml

This file was deleted.

14 changes: 10 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Install pre-commit hooks via
# pre-commit install

ci:
autofix_prs: false
autofix_commit_msg: |
'[pre-commit.ci 🤖] Apply code format tools to PR'
autoupdate_schedule: quarterly

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -16,15 +22,15 @@ repos:
- id: check-toml
- id: check-added-large-files

- repo: https://github.com/pre-commit/mirrors-prettier
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0
- repo: https://github.com/rbubley/mirrors-prettier
rev: bc7af46104f0f5368b95878decf720f9f00c2559 # frozen: v3.4.2
hooks:
- id: prettier
files: \.(html|md|yml|yaml|toml)
args: [--prose-wrap=preserve]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 1dc9eb131c2ea4816c708e4d85820d2cc8542683 # frozen: v0.5.0
rev: f0b5944bef86f50d875305821a0ab0d8c601e465 # frozen: v0.8.4
hooks:
- id: ruff
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
Expand Down
2 changes: 1 addition & 1 deletion lazy_loader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import warnings

__version__ = "0.5rc0.dev0"
__all__ = ["attach", "load", "attach_stub"]
__all__ = ["attach", "attach_stub", "load"]


threadlock = threading.Lock()
Expand Down
Loading