mirror of
https://github.com/lowobservable/oec.git
synced 2026-01-11 23:53:04 +00:00
Lint
This commit is contained in:
parent
9d1335068f
commit
e98569535b
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -15,6 +15,9 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pylint
|
||||
pip install -r requirements.txt --no-deps
|
||||
- name: Run linter
|
||||
run: pylint -E oec
|
||||
- name: Run unit tests
|
||||
run: ./run_unit_tests.sh
|
||||
|
||||
0
oec/__init__.py
Normal file
0
oec/__init__.py
Normal file
@ -4,7 +4,8 @@ oec.keyboard
|
||||
"""
|
||||
|
||||
from enum import Enum, Flag, auto
|
||||
from collections import namedtuple, Mapping
|
||||
from collections import namedtuple
|
||||
from collections.abc import Mapping
|
||||
|
||||
class KeyboardModifiers(Flag):
|
||||
"""Keyboard modifiers."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user