-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pre-commit config * Format files using ruff * Add lint to CI * Update ruff settings * Changed line-length to 79 characters
- Loading branch information
1 parent
4e9f028
commit cd7a7a6
Showing
24 changed files
with
701 additions
and
191 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
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,24 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-added-large-files | ||
args: ['--maxkb=600'] | ||
- id: check-yaml | ||
- id: check-json | ||
- id: check-toml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-docstring-first | ||
- repo: https://github.com/python-poetry/poetry | ||
rev: 1.8.0 | ||
hooks: | ||
- id: poetry-check | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.4.2 | ||
hooks: | ||
- id: ruff | ||
args: [ --fix ] | ||
exclude: (^plume_python/samples/|^tests/) | ||
- id: ruff-format | ||
exclude: (^plume_python/samples/|^tests/) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ For more advanced usage, the package can be imported in a Python script: | |
import plume_python as plm | ||
from plume_python.utils.dataframe import samples_to_dataframe, record_to_dataframes | ||
from plume_python.samples.unity import transform_pb2 | ||
from plume_python.export import xdf_exporter | ||
from plume_python.export import xdf_exporter | ||
from plume_python.utils.game_object import find_names_by_guid, find_first_identifier_by_name | ||
|
||
# Load a record file | ||
|
@@ -136,4 +136,4 @@ Sophie VILLENAVE - [email protected] | |
``` | ||
|
||
[Button Docs]: https://img.shields.io/badge/Explore%20the%20docs-%E2%86%92-brightgreen | ||
[Explore the docs]: https://liris-xr.github.io/PLUME/ | ||
[Explore the docs]: https://liris-xr.github.io/PLUME/ |
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,7 +0,0 @@ | ||
from . import file_reader | ||
from . import parser | ||
from . import record | ||
from . import utils | ||
from . import samples | ||
from . import export | ||
from . import cli | ||
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.