Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 7, 2023
1 parent 5a02066 commit 5037597
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 26 deletions.
37 changes: 15 additions & 22 deletions happypose/pose_estimators/megapose/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ requires = ["setuptools>=45", "wheel"]
extend-exclude = "deprecated|.ipynb|deps|local_data"
line-length = 100

# See the `setuptools_scm` documentation for the description of the schemes used below.
# https://pypi.org/project/setuptools-scm/
# NOTE: If these values are updated, they need to be also updated in `srl/__init__.py`.
# [tool.setuptools_scm]
# local_scheme = "dirty-tag"
# version_scheme = "no-guess-dev"
[tool.coverage.report]
# NOTE: Single-quoted strings are required in TOML for regular expressions
exclude_lines = [
"pragma: no cover", # Need to re-enable the standard no cover match
'^\s*pass\s*$' # Skip any pass lines
]

[tool.isort]
# Multi line output mode 3 is used to conform with Black. See
Expand All @@ -44,27 +44,16 @@ import_heading_thirdparty = "Third Party"
known_first_party = ['megapose']
multi_line_output = 3
profile = "black"
skip = ['local_data', 'build', 'deps']

[tool.pytest.ini_options]
norecursedirs = [".git", ".venv", "deprecated", "dist"]
python_files = ["*_test.py"]

[tool.coverage.report]
# NOTE: Single-quoted strings are required in TOML for regular expressions
exclude_lines = [
"pragma: no cover", # Need to re-enable the standard no cover match
'^\s*pass\s*$', # Skip any pass lines
]
skip = ['build', 'deps', 'local_data']

[tool.mypy]
disallow_untyped_defs = true
exclude = [
"venv",
"local_data",
"deprecated/",
"deps/",
"local_data",
"slurm/",
"deprecated/",
"venv"
]
no_implicit_optional = true
show_error_codes = true
Expand All @@ -75,5 +64,9 @@ ignore_missing_imports = true
module = [
"importlib.metadata",
"setuptools",
"setuptools_scm",
"setuptools_scm"
]

[tool.pytest.ini_options]
norecursedirs = [".git", ".venv", "deprecated", "dist"]
python_files = ["*_test.py"]
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ version = "0.1.0"
[tool.poetry.dependencies]
addict = "^2.4.0"
bokeh = "^3.1.1"
#bop-toolkit-lib = {path = "bop_toolkit"}
# bop-toolkit-lib = {path = "bop_toolkit"}
imageio = "^2.31.1"
ipython = "^8.12.0"
joblib = "^1.2.0"
omegaconf = "^2.3.0"
# cosypose = {path = "happypose/pose_estimators/cosypose"} TODO: pep517
Expand All @@ -36,6 +37,7 @@ opencv-contrib-python = "^4.7.0.72"
opencv-python = "^4.7.0.72"
panda3d = "=1.10.13"
pin = "^2.6.17"
pybind11 = "^2.10.4"
pybullet = "^3.2.5"
pypng = "^0.20220715.0"
python = ">=3.8,<3.11"
Expand All @@ -45,6 +47,7 @@ scikit-image = "^0.21.0"
scikit-learn = "^1.2.2"
scipy = "^1.10.1"
seaborn = "^0.12.2"
selenium = "^4.10.0"
simplejson = "^3.19.1"
torch = {source = "cpu", version = "<2"}
torchvision = {source = "cpu", version = "<0.15.2"}
Expand All @@ -53,9 +56,6 @@ transforms3d = "^0.4.1"
trimesh = "^3.22.1"
webdataset = "^0.2.48"
wget = "^3.2"
selenium = "^4.10.0"
ipython = "^8.12.0"
pybind11 = "^2.10.4"

[tool.poetry.group.dev]
optional = true
Expand Down

0 comments on commit 5037597

Please sign in to comment.