File tree Expand file tree Collapse file tree 20 files changed +158
-80
lines changed Expand file tree Collapse file tree 20 files changed +158
-80
lines changed Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python
1
2
# stdlib
2
3
import json
3
4
import os
Original file line number Diff line number Diff line change 3
3
4
4
set -e -x
5
5
6
- if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then
6
+ if [ " $TRAVIS_PYTHON_VERSION " == 3.6 ]; then
7
7
if [ -z " $TRAVIS_TAG " ] && [ " $TRAVIS_COMMIT_MESSAGE " == " Bump Version*" ]; then
8
8
echo " Deferring building conda package because this is release"
9
9
else
10
10
11
11
python3 ./make_conda_recipe.py || exit 1
12
12
13
13
# Switch to miniconda
14
- source " $HOME /miniconda/etc/profile.d/conda.sh"
14
+ source " /home/travis /miniconda/etc/profile.d/conda.sh"
15
15
hash -r
16
16
conda activate base
17
17
conda config --set always_yes yes --set changeps1 no
@@ -29,9 +29,9 @@ if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then
29
29
for f in conda/dist/noarch/coverage_pyver_pragma-* .tar.bz2; do
30
30
[ -e " $f " ] || continue
31
31
echo " $f "
32
- conda install $f || exit 1
32
+ conda install " $f " || exit 1
33
33
echo " Deploying to Anaconda.org..."
34
- anaconda -t $ANACONDA_TOKEN upload $f || exit 1
34
+ anaconda -t " $ANACONDA_TOKEN " upload " $f " || exit 1
35
35
echo " Successfully deployed to Anaconda.org."
36
36
done
37
37
Original file line number Diff line number Diff line change 1
1
# This file is managed by `repo_helper`. Don't edit it directly
2
+ ---
2
3
3
4
version : 1
4
5
update_configs :
Original file line number Diff line number Diff line change 1
1
# This file is managed by `repo_helper`. Don't edit it directly
2
+ ---
2
3
3
- # Set to true to add reviewers to pull requests
4
4
addReviewers : true
5
-
6
- # Set to true to add assignees to pull requests
7
5
addAssignees : true
8
6
9
7
# A list of reviewers to be added to pull requests (GitHub user name)
10
8
reviewers :
11
9
- domdfcoding
12
10
13
11
# A number of reviewers added to the pull request
14
- # Set 0 to add all the reviewers (default: 0)
12
+ # Set 0 to add all the reviewers
15
13
numberOfReviewers : 0
16
14
17
15
# A list of assignees, overrides reviewers if set
@@ -23,8 +21,4 @@ numberOfReviewers: 0
23
21
# Uses numberOfReviewers if unset.
24
22
# numberOfAssignees: 2
25
23
26
- # A list of keywords to be skipped the process that add reviewers if pull requests include it
27
- # skipKeywords:
28
- # - wip
29
-
30
24
# more settings at https://github.com/marketplace/actions/auto-assign-action
Original file line number Diff line number Diff line change
1
+ # This file is managed by `repo_helper`. Don't edit it directly
1
2
# Configuration for probot-stale - https://github.com/probot/stale
3
+ ---
2
4
3
5
# Number of days of inactivity before an Issue or Pull Request becomes stale
4
6
daysUntilStale : 180
@@ -58,4 +60,4 @@ limitPerRun: 30
58
60
59
61
# issues:
60
62
# exemptLabels:
61
- # - confirmed
63
+ # - confirmed
Original file line number Diff line number Diff line change
1
+ ---
1
2
name : " Docs Check"
2
3
on :
3
4
- pull_request
Original file line number Diff line number Diff line change
1
+ # This file is managed by `repo_helper`. Don't edit it directly
2
+ ---
3
+
1
4
name : " GitHub Releases"
2
5
on :
3
6
push :
4
7
schedule :
5
- - cron : 0 12 * * 2,4,6
8
+ - cron : 0 12 * * 2,4,6
6
9
7
10
jobs :
8
11
test :
Original file line number Diff line number Diff line change
1
+ # This file is managed by `repo_helper`. Don't edit it directly
2
+ ---
3
+
4
+ repos :
5
+ - repo : https://github.com/pre-commit/pre-commit-hooks
6
+ rev : v2.4.0
7
+ hooks :
8
+ - id : check-added-large-files
9
+ - id : check-byte-order-marker
10
+ - id : check-case-conflict
11
+ - id : check-docstring-first
12
+ - id : check-executables-have-shebangs
13
+ - id : check-json
14
+ - id : check-symlinks
15
+ - id : check-vcs-permalinks
16
+ - id : check-yaml
17
+ - id : detect-private-key
18
+ - id : end-of-file-fixer
19
+ - id : requirements-txt-fixer
20
+ - id : trailing-whitespace
21
+
22
+ - repo : https://github.com/pre-commit/pygrep-hooks
23
+ rev : v1.5.1
24
+ hooks :
25
+ - id : python-no-eval
26
+ - id : python-use-type-annotations
27
+
28
+ - repo : https://github.com/asottile/pyupgrade
29
+ rev : v1.5.1
30
+ hooks :
31
+ - id : pyupgrade
32
+ args : [--py36-plus]
33
+
34
+ - repo : https://github.com/pre-commit/mirrors-yapf
35
+ rev : v0.30.0
36
+ hooks :
37
+ - id : yapf
38
+
39
+
40
+ - repo : https://github.com/Lucas-C/pre-commit-hooks
41
+ rev : v1.1.7
42
+ hooks :
43
+ - id : forbid-crlf
44
+ - id : remove-crlf
45
+
46
+ # - repo: https://github.com/shellcheck-py/shellcheck-py
47
+ # rev: v0.7.1.1
48
+ # hooks:
49
+ # - id: shellcheck
50
+
51
+ # - repo: https://github.com/adrienverge/yamllint
52
+ # rev: v1.23.0
53
+ # hooks:
54
+ # - id: yamllint
Original file line number Diff line number Diff line change @@ -404,4 +404,4 @@ analyse-fallback-blocks=no
404
404
405
405
# Exceptions that will emit a warning when being caught. Defaults to
406
406
# "Exception"
407
- overgeneral-exceptions =Exception
407
+ overgeneral-exceptions =Exception
Original file line number Diff line number Diff line change 1
1
# This file is managed by `repo_helper`. Don't edit it directly
2
-
3
- # .readthedocs.yml
4
2
# Read the Docs configuration file
5
- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+ ---
6
4
7
5
# Required
8
6
version : 2
9
7
10
- # Build documentation in the docs/ directory with Sphinx
11
8
sphinx :
12
9
builder : html
13
10
configuration : doc-source/conf.py
14
11
15
12
# Optionally build your docs in additional formats such as PDF and ePub
16
13
formats : all
17
14
18
- # Optionally set the version of Python and requirements required to build your docs
19
15
python :
20
16
version : 3.6
21
17
install :
You can’t perform that action at this time.
0 commit comments