Skip to content

Commit

Permalink
pre-commit autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed May 2, 2024
1 parent 90ec4d8 commit 9b1d7f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.3
rev: v0.4.2
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
Expand Down
6 changes: 3 additions & 3 deletions src/hatch_odoo/build_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ def initialize(self, version, build_data):
pth_file.write(str(editable_path) + "\n")
project_name = get_project_name(self.root)
force_include_editable = build_data["force_include_editable"]
force_include_editable[
pth_file.name
] = f"{project_name}_editable_odoo_addons.pth"
force_include_editable[pth_file.name] = (
f"{project_name}_editable_odoo_addons.pth"
)

0 comments on commit 9b1d7f9

Please sign in to comment.