This repository was archived by the owner on Jul 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change
1
+ [tool .black ]
2
+ line-length = 100
3
+ skip-string-normalization = true
4
+ target-version = [' py36' ]
Original file line number Diff line number Diff line change 6
6
description = 'Girder plugin for a Discourse Single-Sign-On provider.' ,
7
7
url = 'https://github.com/ImageMarkup/isic-discourse-sso' ,
8
8
license = 'Apache 2.0' ,
9
- packages = find_packages (exclude = ['test ' ]),
9
+ packages = find_packages (exclude = ['tests ' ]),
10
10
python_requires = '>=3.6' ,
11
11
install_requires = ['girder>=3.0.0a2' ],
12
12
entry_points = {'girder.plugin' : ['isic_discourse_sso = isic_discourse_sso:DiscourseSSO' ]},
File renamed without changes.
Original file line number Diff line number Diff line change @@ -5,26 +5,32 @@ envlist = py36, lint
5
5
deps =
6
6
pytest
7
7
pytest-girder>=3.0.0a5
8
- commands = pytest --verbose --showlocals {posargs} test
8
+ commands =
9
+ pytest --showlocals {posargs}
9
10
10
11
[testenv:format]
11
12
basepython = python3
13
+ skipsdist = true
12
14
skip_install = true
13
15
deps =
14
16
black
15
- commands = black --skip-string-normalization --line-length 100 setup.py isic_discourse_sso test
17
+ commands =
18
+ black setup.py isic_discourse_sso tests
16
19
17
20
[testenv:lint]
18
21
basepython = python3
22
+ skipsdist = true
19
23
skip_install = true
20
24
deps =
25
+ black
21
26
flake8
22
27
flake8-blind-except
23
28
flake8-docstrings>=1.3
24
29
flake8-import-order>=0.9
25
30
pep8-naming
26
31
commands =
27
- flake8 setup.py isic_discourse_sso test
32
+ flake8 setup.py isic_discourse_sso tests
33
+ black --check setup.py isic_discourse_sso tests
28
34
29
35
[flake8]
30
36
max-line-length = 100
You can’t perform that action at this time.
0 commit comments