Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #115

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ exclude: version

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0 # Use the ref you want to point at
rev: v5.0.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
name: (Common) Remove trailing whitespaces
Expand All @@ -26,7 +26,7 @@ repos:
additional_dependencies: ["clang-format==12.0.1"]

- repo: https://github.com/psf/black
rev: 22.8.0
rev: 24.10.0
hooks:
- id: black
language_version: python
1 change: 1 addition & 0 deletions example/example_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
if not os.path.exists(os.path.join(os.path.join(DATADIRECTORY, "out"))):
os.makedirs(os.path.join(DATADIRECTORY, "out"))


# In this example, we'll filter the autzen dataset to only contain depth levels 0-3.
def TrimFileExample(compressor_example_flag):

Expand Down
1 change: 1 addition & 0 deletions python/copclib/mp/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import concurrent.futures


# Initialize each multiprocessing thread with a copy of the copc reader
def init_mp(copc_path):
_read_node.copc_reader = copc.FileReader(copc_path)
Expand Down
Loading