File tree 2 files changed +20
-9
lines changed
2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/psf/black
3
+ rev : ' '
4
+ hooks :
5
+ - id : black
6
+ - repo : https://github.com/pycqa/isort
7
+ rev : ' '
8
+ hooks :
9
+ - id : isort
Original file line number Diff line number Diff line change 1
1
language : python
2
2
3
- python :
4
- - " 3.4"
5
- - " 3.5"
6
- - " 3.6"
7
- - " 3.7"
8
- dist : xenial
9
- sudo : true
10
-
11
3
matrix :
4
+ include :
5
+ - python : ' 3.5'
6
+ - python : ' 3.6'
7
+ - python : ' 3.7'
8
+ - python : ' 3.8'
9
+ env : PRE_COMMIT=1
12
10
fast_finish : true
11
+ dist : xenial
12
+ sudo : true
13
13
14
14
install :
15
+ - test ! "$PRE_COMMIT" || pip install pre-commit
15
16
- pip install pylint
16
17
- pip install coverage
17
18
- pip install coveralls
18
19
# Check if installing works
19
20
- pip install -e .
20
21
21
22
script :
23
+ - test ! "$PRE_COMMIT" || pre-commit run --all-files
22
24
# Check for import errors
23
25
- coverage run --source=quantulum3 scripts/test_import_error.py
24
26
# Build common words
@@ -44,7 +46,7 @@ deploy:
44
46
provider : pypi
45
47
on :
46
48
branch : master
47
- python : " 3.7 "
49
+ python : " 3.8 "
48
50
distributions : " sdist bdist_wheel"
49
51
skip_existing : true
50
52
# Keep the generated classifier
You can’t perform that action at this time.
0 commit comments