mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 20:52:43 +00:00
bumped minimum required python to 3.8
This commit is contained in:
8
.github/workflows/python-package.yaml
vendored
8
.github/workflows/python-package.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user