forked from pycontribs/jira
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sorin Sbarnea <[email protected]>
- Loading branch information
Showing
14 changed files
with
136 additions
and
74 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v1.3.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
- id: check-byte-order-marker | ||
- id: check-executables-have-shebangs | ||
- id: check-merge-conflict | ||
- id: check-symlinks | ||
- id: check-vcs-permalinks | ||
- id: flake8 | ||
- id: debug-statements | ||
- id: requirements-txt-fixer | ||
- id: check-yaml | ||
files: .*\.(yaml|yml)$ | ||
- repo: https://github.com/adrienverge/yamllint.git | ||
rev: v1.11.1 | ||
hooks: | ||
- id: yamllint | ||
files: \.(yaml|yml)$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,65 @@ | ||
--- | ||
language: python | ||
cache: | ||
- pip | ||
- directories: | ||
- "node_modules" | ||
- pip | ||
- directories: | ||
- "node_modules" | ||
sudo: false | ||
os: | ||
- linux | ||
- linux | ||
stages: | ||
- spell | ||
- docs | ||
- test | ||
- deploy | ||
- lint | ||
- docs | ||
- test | ||
- deploy | ||
script: | ||
notifications: | ||
email: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
jobs: | ||
include: | ||
- stage: spell | ||
script: npm install && npm run spell | ||
language: nodejs | ||
node_js: | ||
- "8" | ||
- stage: docs | ||
script: pip install -q tox-travis && python -m tox | ||
python: 2.7 | ||
env: TOXENV=docs | ||
- stage: test | ||
script: pip install -q tox-travis && python -m tox | ||
python: 2.7 | ||
env: TOXENV=py27 | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV | ||
- requires.io update-site -t ac3bbcca32ae03237a6aae2b02eb9411045489bb -r | ||
- stage: test | ||
script: pip install -q tox-travis && python -m tox | ||
python: 3.4 | ||
env: TOXENV=py34 | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV | ||
- stage: test | ||
script: pip install -q tox-travis && python -m tox | ||
python: 3.5 | ||
env: TOXENV=py35 | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV | ||
- stage: test | ||
script: pip install -q tox-travis && python -m tox | ||
python: 3.6 | ||
env: TOXENV=py36 PYTHON='3.6' PYENV_VERSION='system' | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV | ||
- stage: deploy | ||
script: | ||
- export PACKAGE_NAME=$(python setup.py --name) | ||
- export PACKAGE_VERSION=$(python setup.py --version) | ||
- python setup.py sdist bdist_wheel | ||
- stage: lint | ||
script: | ||
- pip install --user --upgrade pre-commit && python -m pre_commit run | ||
- npm install && npm run spell | ||
language: nodejs | ||
node_js: | ||
- "8" | ||
- stage: docs | ||
script: pip install -q tox-travis && python -m tox | ||
python: 2.7 | ||
env: TOXENV=docs | ||
- stage: test | ||
script: pip install -q tox-travis && python -m tox | ||
python: 2.7 | ||
env: TOXENV=py27 | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV | ||
- requires.io update-site -t ac3bbcca32ae03237a6aae2b02eb9411045489bb -r | ||
- stage: test | ||
script: pip install -q tox-travis && python -m tox | ||
python: 3.4 | ||
env: TOXENV=py34 | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV | ||
- stage: test | ||
script: pip install -q tox-travis && python -m tox | ||
python: 3.5 | ||
env: TOXENV=py35 | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV | ||
- stage: test | ||
script: pip install -q tox-travis && python -m tox | ||
python: 3.6 | ||
env: TOXENV=py36 PYTHON='3.6' PYENV_VERSION='system' | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -e TOX_ENV | ||
- stage: deploy | ||
script: | ||
- export PACKAGE_NAME=$(python setup.py --name) | ||
- export PACKAGE_VERSION=$(python setup.py --version) | ||
- python setup.py sdist bdist_wheel | ||
deploy: | ||
- provider: pypi | ||
user: pycontribs | ||
|
@@ -83,15 +86,15 @@ deploy: | |
api_key: | ||
secure: G19YtkGAX0aJ1oyd/7eRj1KYdsmAkjkfU2UISvsjh/68ec1+9qtPpN7BbkFYZYMjSx0BtS0SEEA7Vdl4F9DI9Zzqahbj7WzDLFe9/4aZKM/ztfKWR6CNAYaMazAKS5W7r9pPkBBDIIJ9zCqvV7FRzjewEpfTwFzwUdY+IpxEsAM= | ||
file: | ||
- dist/$PACKAGE_NAME-$PACKAGE_VERSION.tar.gz | ||
- dist/$PACKAGE_NAME-$PACKAGE_VERSION-py2.py3-none-any.whl | ||
- ChangeLog | ||
- dist/$PACKAGE_NAME-$PACKAGE_VERSION.tar.gz | ||
- dist/$PACKAGE_NAME-$PACKAGE_VERSION-py2.py3-none-any.whl | ||
- ChangeLog | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
repo: pycontribs/jira | ||
branch: master | ||
env: | ||
global: | ||
- secure: fuXwQL+KHQ96XkAFl2uQc8eK8dAjrgkup46tck/UGjVpdv1PT/yHmBKrvpFjDa50ueGbtBwTdKAwhyAmYuiZCk2IYHzdvBylCZBBji2FSpaTM59CVwgkVT6tx3HHO83X0mEX6ih9TJvZD5XhX+YUjopnseRXRq3ey3JZJXWN4RM= | ||
- secure: "pGQGM5YmHvOgaKihOyzb3k6bdqLQnZQ2OXO9QrfXlXwtop3zvZQi80Q+01l230x2psDWlwvqWTknAjAt1w463fYXPwpoSvKVCsLSSbjrf2l56nrDqnoir+n0CBy288+eIdaGEfzcxDiuULeKjlg08zrqjcjLjW0bDbBrlTXsb5U=" | ||
- secure: fuXwQL+KHQ96XkAFl2uQc8eK8dAjrgkup46tck/UGjVpdv1PT/yHmBKrvpFjDa50ueGbtBwTdKAwhyAmYuiZCk2IYHzdvBylCZBBji2FSpaTM59CVwgkVT6tx3HHO83X0mEX6ih9TJvZD5XhX+YUjopnseRXRq3ey3JZJXWN4RM= | ||
- secure: "pGQGM5YmHvOgaKihOyzb3k6bdqLQnZQ2OXO9QrfXlXwtop3zvZQi80Q+01l230x2psDWlwvqWTknAjAt1w463fYXPwpoSvKVCsLSSbjrf2l56nrDqnoir+n0CBy288+eIdaGEfzcxDiuULeKjlg08zrqjcjLjW0bDbBrlTXsb5U=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
braces: {max-spaces-inside: 1, level: error} | ||
brackets: {max-spaces-inside: 1, level: error} | ||
colons: {max-spaces-after: -1, level: error} | ||
commas: {max-spaces-after: -1, level: error} | ||
comments: disable | ||
comments-indentation: disable | ||
document-start: disable | ||
empty-lines: {max: 3, level: error} | ||
hyphens: {level: error} | ||
indentation: | ||
indent-sequences: consistent | ||
# spaces: consistent | ||
ignore: | | ||
/jobs/DFG | ||
# TODO: slowly fix reduce ignore pattern while fixing the errors | ||
key-duplicates: enable | ||
line-length: | ||
max: 270 | ||
allow-non-breakable-words: true | ||
allow-non-breakable-inline-mappings: true | ||
new-line-at-end-of-file: disable | ||
new-lines: {type: unix} | ||
trailing-spaces: disable | ||
truthy: disable | ||
|
||
ignore: | ||
.tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
comment: | ||
layout: diff | ||
comment: false | ||
comment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/bin/sh | ||
set -e | ||
python -m autopep8 --in-place jira/*.py setup.py tests/*.py examples/*.py --recursive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ author-email = [email protected] | |
maintainer = Sorin Sbarnea | ||
maintainer-email = [email protected] | ||
summary = Python library for interacting with JIRA via REST APIs. | ||
description-file = | ||
description-file = | ||
README.rst | ||
# Do not include ChangeLog in description-file due to multiple reasons: | ||
# - Unicode chars, see https://github.com/pycontribs/jira/issues/512 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters