Skip to content

Commit 61f3097

Browse files
authored
Add linting (#612)
* Keep dev deps DRY * Use tox-travis * Add flake8/pylint/black/mypy/bandit/doc8 to tox * Fix flake8/pep8 errors * Conform with pylint C0103 * Fix pylint errors * Add missing return statements * Skip integration tests if credentials not provided * Fix doc8 errors * Apply black formatter * Remove Python 3.3 from CI matrix It's not available on Xenial 16.04 anyway: https://docs.travis-ci.com/user/languages/python/ * Update CI Python version matrix
1 parent 7caa34f commit 61f3097

File tree

135 files changed

+5544
-3627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+5544
-3627
lines changed

.travis.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
language: python
22
python:
3-
- "2.7"
4-
- "3.3"
5-
- "3.4"
6-
- "3.5"
7-
- "3.6"
8-
- "3.7"
9-
- "3.8"
10-
- "3.9-dev"
3+
- "2.7"
4+
- "3.4"
5+
- "3.5"
6+
- "3.6"
7+
- "3.7"
8+
- "3.8"
9+
- "3.9"
10+
- "3.10-dev"
1111

1212
matrix:
1313
allow_failures:
14-
- python: "3.3"
14+
- python: "3.10-dev"
1515

16-
install: pip install tox
17-
before_script:
18-
- .travis/bump_version ./ minor > atlassian/VERSION
16+
install: pip install tox-travis
17+
before_script:
18+
- .travis/bump_version ./ minor > atlassian/VERSION
1919
script:
20-
- tox
20+
- tox

atlassian/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
from .xray import Xray
1111

1212
__all__ = [
13-
'Confluence',
14-
'Jira',
15-
'Bitbucket',
16-
'Portfolio',
17-
'Bamboo',
18-
'Stash',
19-
'Crowd',
20-
'ServiceDesk',
21-
'MarketPlace',
22-
'Xray'
13+
"Confluence",
14+
"Jira",
15+
"Bitbucket",
16+
"Portfolio",
17+
"Bamboo",
18+
"Stash",
19+
"Crowd",
20+
"ServiceDesk",
21+
"MarketPlace",
22+
"Xray",
2323
]

0 commit comments

Comments
 (0)