File tree Expand file tree Collapse file tree 3 files changed +59
-1
lines changed Expand file tree Collapse file tree 3 files changed +59
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+ on :
3
+ push :
4
+ branches : [ master ]
5
+ pull_request :
6
+ branches : [ master ]
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ fail-fast : true
13
+ matrix :
14
+ python-version : [ 3.8, 3.9]
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ - name : Set up Python ${{ matrix.python-version }}
18
+ uses : actions/setup-python@v3
19
+ with :
20
+ python-version : ${{ matrix.python-version }}
21
+ - name : Install dependencies
22
+ run : |
23
+ pip install --upgrade pip
24
+ SETUPTOOLS_SCM_PRETEND_VERSION=0.0.1 pip install .[test]
25
+ - name : Test with pytest
26
+ run : |
27
+ pytest
28
+ env :
29
+ CI : true
Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/pre-commit/pre-commit-hooks
3
+ rev : v4.3.0
4
+ hooks :
5
+ # - id: double-quote-string-fixer # for single quotes: uncomment and add black config “skip-string-normalization”
6
+ - id : trailing-whitespace
7
+ - id : end-of-file-fixer
8
+ - repo : https://github.com/PyCQA/docformatter
9
+ rev : v1.5.0
10
+ hooks :
11
+ - id : docformatter
12
+ args : ["--wrap-summaries=100", "--wrap-descriptions=100"]
13
+ - repo : https://github.com/psf/black
14
+ rev : 22.10.0
15
+ hooks :
16
+ - id : black
17
+ - repo : https://github.com/pycqa/isort
18
+ rev : 5.10.1
19
+ hooks :
20
+ - id : isort
21
+ - repo : https://github.com/csachs/pyproject-flake8
22
+ rev : v5.0.4a1.post1
23
+ hooks :
24
+ - id : pyproject-flake8
25
+ - repo : https://github.com/pre-commit/mirrors-prettier
26
+ rev : v3.0.0-alpha.4
27
+ hooks :
28
+ - id : prettier
29
+ types_or : [css, javascript]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Installation
12
12
.. code :: ipython3
13
13
14
14
pip install backedarray
15
-
15
+
16
16
Examples
17
17
--------
18
18
You can’t perform that action at this time.
0 commit comments