Skip to content

Commit b122942

Browse files
committed
Run pre-commit
1 parent 7864323 commit b122942

File tree

11 files changed

+142
-134
lines changed

11 files changed

+142
-134
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
name: tests
55

6-
on:
6+
on:
77
push:
88
branches:
99
- main
@@ -65,7 +65,7 @@ jobs:
6565

6666
deploy:
6767
# this will run when you have tagged a commit, starting with "v*"
68-
# and requires that you have put your twine API key in your
68+
# and requires that you have put your twine API key in your
6969
# github secrets (see readme for details)
7070
needs: [test]
7171
runs-on: ubuntu-latest
@@ -88,4 +88,3 @@ jobs:
8888
git tag
8989
python -m build .
9090
twine upload dist/*
91-

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,3 @@ venv/
8282

8383
# written by setuptools_scm
8484
**/_version.py
85-

.napari/DESCRIPTION.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ the functionality of your plugin. Its content will be rendered on your plugin's
55
napari hub page.
66
77
The sections below are given as a guide for the flow of information only, and
8-
are in no way prescriptive. You should feel free to merge, remove, add and
9-
rename sections at will to make this document work best for your plugin.
8+
are in no way prescriptive. You should feel free to merge, remove, add and
9+
rename sections at will to make this document work best for your plugin.
1010
1111
## Description
1212
13-
This should be a detailed description of the context of your plugin and its
13+
This should be a detailed description of the context of your plugin and its
1414
intended purpose.
1515
1616
If you have videos or screenshots of your plugin in action, you should include them
17-
here as well, to make them front and center for new users.
17+
here as well, to make them front and center for new users.
1818
19-
You should use absolute links to these assets, so that we can easily display them
19+
You should use absolute links to these assets, so that we can easily display them
2020
on the hub. The easiest way to include a video is to use a GIF, for example hosted
2121
on imgur. You can then reference this GIF as an image.
2222
@@ -59,7 +59,7 @@ anywhere, feel free to also include this information here.
5959
This section should go through step-by-step examples of how your plugin should be used.
6060
Where your plugin provides multiple dock widgets or functions, you should split these
6161
out into separate subsections for easy browsing. Include screenshots and videos
62-
wherever possible to elucidate your descriptions.
62+
wherever possible to elucidate your descriptions.
6363
6464
Ideally, this section should start with minimal examples for those who just want a
6565
quick overview of the plugin's functionality, but you should definitely link out to
@@ -72,8 +72,8 @@ for the majority of plugins. They will include instructions to pip install, and
7272
to install via napari itself.
7373
7474
Most plugins can be installed out-of-the-box by just specifying the package requirements
75-
over in `setup.cfg`. However, if your plugin has any more complex dependencies, or
76-
requires any additional preparation before (or after) installation, you should add
75+
over in `setup.cfg`. However, if your plugin has any more complex dependencies, or
76+
requires any additional preparation before (or after) installation, you should add
7777
this information here.
7878
7979
## Getting Help

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.0.1
3+
rev: v4.2.0
44
hooks:
55
- id: check-docstring-first
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
88
- repo: https://github.com/asottile/setup-cfg-fmt
9-
rev: v1.20.0
9+
rev: v1.20.1
1010
hooks:
1111
- id: setup-cfg-fmt
1212
- repo: https://github.com/PyCQA/flake8
@@ -24,11 +24,11 @@ repos:
2424
hooks:
2525
- id: isort
2626
- repo: https://github.com/psf/black
27-
rev: 21.11b1
27+
rev: 22.3.0
2828
hooks:
2929
- id: black
3030
- repo: https://github.com/asottile/pyupgrade
31-
rev: v2.29.1
31+
rev: v2.32.0
3232
hooks:
3333
- id: pyupgrade
3434
args: [--py38-plus, --keep-runtime-typing]

0 commit comments

Comments
 (0)