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
12# stdlib
23import json
34import os
Original file line number Diff line number Diff line change 33
44set -e -x
55
6- if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then
6+ if [ " $TRAVIS_PYTHON_VERSION " == 3.6 ]; then
77 if [ -z " $TRAVIS_TAG " ] && [ " $TRAVIS_COMMIT_MESSAGE " == " Bump Version*" ]; then
88 echo " Deferring building conda package because this is release"
99 else
1010
1111 python3 ./make_conda_recipe.py || exit 1
1212
1313 # Switch to miniconda
14- source " $HOME /miniconda/etc/profile.d/conda.sh"
14+ source " /home/travis /miniconda/etc/profile.d/conda.sh"
1515 hash -r
1616 conda activate base
1717 conda config --set always_yes yes --set changeps1 no
@@ -29,9 +29,9 @@ if [ $TRAVIS_PYTHON_VERSION == 3.6 ]; then
2929 for f in conda/dist/noarch/coverage_pyver_pragma-* .tar.bz2; do
3030 [ -e " $f " ] || continue
3131 echo " $f "
32- conda install $f || exit 1
32+ conda install " $f " || exit 1
3333 echo " Deploying to Anaconda.org..."
34- anaconda -t $ANACONDA_TOKEN upload $f || exit 1
34+ anaconda -t " $ANACONDA_TOKEN " upload " $f " || exit 1
3535 echo " Successfully deployed to Anaconda.org."
3636 done
3737
Original file line number Diff line number Diff line change 11# This file is managed by `repo_helper`. Don't edit it directly
2+ ---
23
34version : 1
45update_configs :
Original file line number Diff line number Diff line change 11# This file is managed by `repo_helper`. Don't edit it directly
2+ ---
23
3- # Set to true to add reviewers to pull requests
44addReviewers : true
5-
6- # Set to true to add assignees to pull requests
75addAssignees : true
86
97# A list of reviewers to be added to pull requests (GitHub user name)
108reviewers :
119 - domdfcoding
1210
1311# 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
1513numberOfReviewers : 0
1614
1715# A list of assignees, overrides reviewers if set
@@ -23,8 +21,4 @@ numberOfReviewers: 0
2321# Uses numberOfReviewers if unset.
2422# numberOfAssignees: 2
2523
26- # A list of keywords to be skipped the process that add reviewers if pull requests include it
27- # skipKeywords:
28- # - wip
29-
3024# 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
12# Configuration for probot-stale - https://github.com/probot/stale
3+ ---
24
35# Number of days of inactivity before an Issue or Pull Request becomes stale
46daysUntilStale : 180
@@ -58,4 +60,4 @@ limitPerRun: 30
5860
5961# issues:
6062# exemptLabels:
61- # - confirmed
63+ # - confirmed
Original file line number Diff line number Diff line change 1+ ---
12name : " Docs Check"
23on :
34 - 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+
14name : " GitHub Releases"
25on :
36 push :
47 schedule :
5- - cron : 0 12 * * 2,4,6
8+ - cron : 0 12 * * 2,4,6
69
710jobs :
811 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
404404
405405# Exceptions that will emit a warning when being caught. Defaults to
406406# "Exception"
407- overgeneral-exceptions =Exception
407+ overgeneral-exceptions =Exception
Original file line number Diff line number Diff line change 11# This file is managed by `repo_helper`. Don't edit it directly
2-
3- # .readthedocs.yml
42# Read the Docs configuration file
5- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+ ---
64
75# Required
86version : 2
97
10- # Build documentation in the docs/ directory with Sphinx
118sphinx :
129 builder : html
1310 configuration : doc-source/conf.py
1411
1512# Optionally build your docs in additional formats such as PDF and ePub
1613formats : all
1714
18- # Optionally set the version of Python and requirements required to build your docs
1915python :
2016 version : 3.6
2117 install :
You can’t perform that action at this time.
0 commit comments