Skip to content

Commit

Permalink
Merge pull request #212 from dhalbert/wsgi-server-example
Browse files Browse the repository at this point in the history
Really, really remove wsgi
  • Loading branch information
dhalbert authored Sep 29, 2024
2 parents e7e129a + 152f3c0 commit b82b7cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/pylint
rev: v2.17.4
rev: v3.3.1
hooks:
- id: pylint
name: pylint (library code)
types: [python]
args:
- --disable=consider-using-f-string
- --disable=consider-using-f-string,too-many-arguments,too-many-positional-arguments
exclude: "^(docs/|examples/|tests/|setup.py$)"
- id: pylint
name: pylint (example code)
Expand Down
2 changes: 1 addition & 1 deletion adafruit_esp32spi/adafruit_esp32spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def _wait_response_cmd(self, cmd, num_responses=None, *, param_len_16=False):
print("Read %d: " % len(responses[0]), responses)
return responses

def _send_command_get_response(
def _send_command_get_response( # pylint: disable=too-many-arguments
self,
cmd,
params=None,
Expand Down
3 changes: 3 additions & 0 deletions examples/server/esp32spi_wsgiserver.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-FileCopyrightText: 2024 Dan Halbert for Adafruit Industries
# SPDX-License-Identifier: MIT
# will be empty

0 comments on commit b82b7cc

Please sign in to comment.