Skip to content

Commit

Permalink
chore: yet another attempt fixing new linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zehnm committed Feb 26, 2024
1 parent fcf9657 commit a2ca74f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,17 @@ jobs:
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
- name: Analyzing the code with pylint
run: |
python -m pylint --version
python -m pylint ucapi
- name: Lint with flake8
run: |
python -m flake8 --version
python -m flake8 ucapi --count --show-source --statistics
- name: Check code formatting with isort
run: |
python -m isort --version
python -m isort ucapi/. examples/. --check --verbose
- name: Check code formatting with black
run: |
python -m black --version
python -m black ucapi examples --check --verbose
1 change: 1 addition & 0 deletions ucapi/api_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:copyright: (c) 2023 by Unfolded Circle ApS.
:license: MPL-2.0, see LICENSE for more details.
"""

from dataclasses import dataclass
from enum import Enum, IntEnum
from typing import Any, Awaitable, Callable, TypeAlias
Expand Down

0 comments on commit a2ca74f

Please sign in to comment.