Skip to content

Commit f95fd45

Browse files
committed
fix pylint
1 parent b4d99f7 commit f95fd45

4 files changed

Lines changed: 20 additions & 148 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ jobs:
160160
PYTHON_VER=${{ env.PYTHON_VER }}
161161
- name: "Debug: Show docker images"
162162
run: "docker image ls"
163-
- name: "Expose the Docker tag"
164-
run: "echo INVOKE_PARSER_DOCKER_TAG=${{ env.INVOKE_PARSER_IMAGE_NAME }}:${{ env.INVOKE_PARSER_IMAGE_VER }}-py${{ matrix.python-version }} >> $GITHUB_ENV"
165163
- name: "Run Tests"
166164
run: "poetry run invoke pytest"
167165
needs:

circuit_maintenance_parser/parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ def parser_hook(self, raw: bytes, content_type: str):
364364
content = soup.text
365365
elif content_type in ["text/plain"]:
366366
content = self.get_text_hook(raw)
367+
else:
368+
return result
367369

368370
for data in self.parse_content(content):
369371
result.append(data)

0 commit comments

Comments
 (0)