Skip to content

Commit b82b7cc

Browse files
authored
Merge pull request adafruit#212 from dhalbert/wsgi-server-example
Really, really remove wsgi
2 parents e7e129a + 152f3c0 commit b82b7cc

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ repos:
1818
- id: end-of-file-fixer
1919
- id: trailing-whitespace
2020
- repo: https://github.com/pycqa/pylint
21-
rev: v2.17.4
21+
rev: v3.3.1
2222
hooks:
2323
- id: pylint
2424
name: pylint (library code)
2525
types: [python]
2626
args:
27-
- --disable=consider-using-f-string
27+
- --disable=consider-using-f-string,too-many-arguments,too-many-positional-arguments
2828
exclude: "^(docs/|examples/|tests/|setup.py$)"
2929
- id: pylint
3030
name: pylint (example code)

adafruit_esp32spi/adafruit_esp32spi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def _wait_response_cmd(self, cmd, num_responses=None, *, param_len_16=False):
416416
print("Read %d: " % len(responses[0]), responses)
417417
return responses
418418

419-
def _send_command_get_response(
419+
def _send_command_get_response( # pylint: disable=too-many-arguments
420420
self,
421421
cmd,
422422
params=None,

examples/server/esp32spi_wsgiserver.py

100755100644
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2024 Dan Halbert for Adafruit Industries
2+
# SPDX-License-Identifier: MIT
3+
# will be empty

0 commit comments

Comments
 (0)