1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 12:42:41 +00:00

bumped minimum required python to 3.8

This commit is contained in:
Bastian Venthur
2021-02-13 13:34:24 +01:00
parent e972d90704
commit e52b1b7738
3 changed files with 5 additions and 11 deletions

View File

@@ -17,8 +17,6 @@ jobs:
- macos-latest
- windows-latest
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
- pypy3
@@ -42,8 +40,4 @@ jobs:
- name: Run linter
run: |
flake8 -vv
- name: Run tests
run: |
pytest
flake8

View File

@@ -85,9 +85,9 @@ class MarkdownLinkTreeprocessor(Treeprocessor):
def convert(self, url):
scheme, netloc, path, query, fragment = urlsplit(url)
# logger.debug(
# f'{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}'
# )
logger.debug(
f'{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}'
)
if (scheme or netloc or not path):
return url
if path.endswith('.md'):

View File

@@ -17,7 +17,7 @@ setup(
author='Bastian Venthur',
author_email='mail@venthur.de',
url='https://github.com/venthur/blag',
python_requires='>=3',
python_requires='>=3.8',
package_data={
'blag': ['templates/*'],
},