From 1ad53eb642c8cdc29be7a38ba6a0822ea22fa325 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 8 Nov 2020 23:51:57 +0100 Subject: [PATCH] drop support for python 3.5 --- .github/workflows/pythonpackage.yml | 2 +- setup.cfg | 4 ++-- src/escpos/capabilities.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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. """