Skip to content
Merged
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
3 changes: 0 additions & 3 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ jobs:
- name: Install Wheel
# see https://community.octoprint.org/t/setuptools-error-while-installing-plugin-octoklipper-on-manual-op-installation/51387
run: pip install wheel
- name: Fixed setuptools
# see https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
run: pip install "setuptools~=79.0.0"
- name: Make liblgpio.so
if: ${{ matrix.python == '3.13' }}
# see https://github.com/borisbu/OctoRelay/issues/346#issuecomment-2849009685
Expand Down
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ source-roots=

# When enabled, pylint would attempt to guess common misconfiguration and emit
# user-friendly hints instead of false-positive error messages.
suggestion-mode=yes
# suggestion-mode=yes

# Allow loading of arbitrary C extensions. Extensions are imported into the
# active Python interpreter and may run arbitrary code.
Expand Down Expand Up @@ -193,7 +193,7 @@ good-names=Run

# Good variable names regexes, separated by a comma. If names match any regex,
# they will always be accepted
good-names-rgxs=^v\d+$
good-names-rgxs=^v\d+$,.*Mock$

# Include a hint for the correct naming format with invalid-name.
include-naming-hint=no
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include README.md
include CHANGELOG.md
include pyproject.toml
recursive-include octoprint_octorelay/templates *
recursive-include octoprint_octorelay/translations *
recursive-include octoprint_octorelay/static *
Expand Down
6 changes: 3 additions & 3 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[mypy]
check_untyped_defs = True
exclude = (?x)(
_version\.py$
)

[mypy-octoprint.*]
ignore_missing_imports = True
Expand All @@ -12,3 +9,6 @@ ignore_missing_imports = True

[mypy-flask.*]
ignore_missing_imports = True

[mypy-octoprint_octorelay._version]
ignore_errors = True
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build-system]
requires = [
"setuptools",
"wheel",
"octoprint",
]
build-backend = "setuptools.build_meta"
Loading