This commit is contained in:
Andrew Kay 2021-10-23 18:12:54 -05:00
parent 9d1335068f
commit e98569535b
3 changed files with 5 additions and 1 deletions

View File

@ -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
View File

View 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."""