Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update black py36 #187

Merged
merged 3 commits into from
Jan 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install packages
run: |
sudo apt-get -y install pandoc
if: matrix.python-version == 3.8
if: matrix.python-version == 3.6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand All @@ -28,10 +28,10 @@ jobs:
run: make test
- name: Lint with flake8 ⚙️
run: make lint
if: matrix.python-version == 3.8
if: matrix.python-version == 3.6
- name: Check formatting with black ⚙️
run: black --check --target-version py38 birdy tests
if: matrix.python-version == 3.8
run: black --check --target-version py36 birdy tests
if: matrix.python-version == 3.6
- name: Build docs 🏗️
run: make docs
if: matrix.python-version == 3.8
if: matrix.python-version == 3.6
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: python3.8
python: python3.6

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -18,7 +18,7 @@ repos:
hooks:
- id: black
language_version: python3
args: ["--target-version", "py38"]
args: ["--target-version", "py36"]
- repo: https://github.com/pycqa/flake8
rev: 3.8.3
hooks:
Expand Down
2 changes: 1 addition & 1 deletion birdy/ipyleafletwfs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This module is to be used inside a jupyter notebook, either with a standard serv

There are notebook examples which show how to use this module and what can be done with it.

The WFS request is filtered by the extent of the visible map, to make large layers easier to work with.
The WFS request is filtered by the extent of the visible map, to make large layers easier to work with.
Using the on-map 'Refresh WFS layer' button will make a new request for the current extent.

**Warning**
Expand Down
2 changes: 1 addition & 1 deletion birdy/ipyleafletwfs/examples/ipyleafletwfs_guide.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
2 changes: 1 addition & 1 deletion birdy/ipyleafletwfs/examples/quickstart-template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
2 changes: 1 addition & 1 deletion birdy/ipyleafletwfs/examples/wfs_constructor.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
Loading