diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 55b9ab0..219476f 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8, 3.9] + python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 diff --git a/setup.cfg b/setup.cfg index 82bb443..3423563 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,10 +18,10 @@ classifiers = Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Libraries :: Python Modules Topic :: Office/Business :: Financial :: Point-Of-Sale @@ -31,7 +31,7 @@ project_urls = Release Notes = https://github.com/python-escpos/python-escpos/releases [options] -python_requires = >=3.5 +python_requires = >=3.6 zip_safe = false include_package_data = true install_requires = diff --git a/src/escpos/capabilities.py b/src/escpos/capabilities.py index 5ef1f1e..c57acfa 100644 --- a/src/escpos/capabilities.py +++ b/src/escpos/capabilities.py @@ -99,7 +99,7 @@ class BaseProfile(object): return {v: k for k, v in self.codePages.items()} -def get_profile(name:str=None, **kwargs): +def get_profile(name: str=None, **kwargs): """Get the profile by name; if no name is given, return the default profile. """