-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from dsj7419/fix/docs-workflow
ci: fix documentation workflow and dependencies
- Loading branch information
Showing
10 changed files
with
187 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[flake8] | ||
max-line-length = 100 | ||
exclude = | ||
.git, | ||
__pycache__, | ||
build, | ||
dist, | ||
*.egg-info | ||
.venv | ||
venv | ||
env | ||
.env | ||
.tox | ||
.pytest_cache | ||
.mypy_cache | ||
.coverage | ||
htmlcov | ||
|
||
per-file-ignores = | ||
# Allow unused imports in __init__.py | ||
__init__.py: F401 | ||
# Allow long lines in test files | ||
tests/*: E501 | ||
|
||
ignore = | ||
# Allow line break before binary operator | ||
W503 | ||
# Allow line break after binary operator | ||
W504 | ||
# Allow multiple spaces around operators | ||
E221 | ||
E222 | ||
# Allow multiple spaces after ',' | ||
E241 | ||
|
||
max-complexity = 12 |
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
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,26 @@ | ||
[mypy] | ||
python_version = 3.12 | ||
warn_return_any = True | ||
warn_unused_configs = True | ||
disallow_untyped_defs = True | ||
disallow_incomplete_defs = True | ||
check_untyped_defs = True | ||
disallow_untyped_decorators = False | ||
no_implicit_optional = True | ||
warn_redundant_casts = True | ||
warn_unused_ignores = True | ||
warn_no_return = True | ||
warn_unreachable = True | ||
strict_equality = True | ||
explicit_package_bases = True | ||
|
||
# PyQt5 stubs handling | ||
[mypy-PyQt5.*] | ||
ignore_missing_imports = True | ||
|
||
# Third party libraries | ||
[mypy-psutil.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-pytest.*] | ||
ignore_missing_imports = True |
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 +1,9 @@ | ||
# Documentation | ||
mkdocs==1.5.3 | ||
mkdocs-material==9.5.3 | ||
mkdocs-material-extensions>=1.3 | ||
mkdocs-awesome-pages-plugin==2.9.2 | ||
mkdocs-minify-plugin==0.7.1 | ||
mkdocs-git-revision-date-localized-plugin>=1.2.0 | ||
mkdocs-material-extensions>=1.3 | ||
pymdown-extensions>=10.2 | ||
pygments>=2.16 |
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,14 @@ | ||
"""Utilities package for GynTree.""" | ||
|
||
from .resource_path import ResourcePathManager, get_resource_path | ||
from .theme_manager import ThemeManager | ||
from .error_handler import handle_exception | ||
from .logging_decorator import log_method | ||
|
||
__all__ = [ | ||
'ResourcePathManager', | ||
'get_resource_path', | ||
'ThemeManager', | ||
'handle_exception', | ||
'log_method' | ||
] |
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