Skip to content

Commit 8084d4b

Browse files
committed
Updating config files with repo_helper
1 parent c41c05a commit 8084d4b

13 files changed

+66
-92
lines changed

.ci/travis_deploy_conda.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
set -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/domdf_python_tools-*.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

.dependabot/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This file is managed by `repo_helper`. Don't edit it directly
2+
---
23

34
version: 1
45
update_configs:

.github/auto_assign.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
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
44
addReviewers: true
5-
6-
# Set to true to add assignees to pull requests
75
addAssignees: true
86

97
# A list of reviewers to be added to pull requests (GitHub user name)
108
reviewers:
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
1513
numberOfReviewers: 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

.github/stale.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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
46
daysUntilStale: 180

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "Docs Check"
23
on:
34
- pull_request

.github/workflows/octocheese.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
# This file is managed by `repo_helper`. Don't edit it directly
2+
---
3+
14
name: "GitHub Releases"
25
on:
36
push:
47
schedule:
5-
- cron: 0 12 * * 2,4,6
8+
- cron: 0 12 * * 2,4,6
69

710
jobs:
811
test:

.github/workflows/testing.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 48 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,56 @@
1+
# This file is managed by `repo_helper`. Don't edit it directly
12
# See https://pre-commit.com for more information
23
# See https://pre-commit.com/hooks.html for more hooks
4+
---
5+
36
repos:
4-
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v2.4.0
6-
hooks:
7-
- id: check-added-large-files
8-
- id: check-byte-order-marker
9-
- id: check-case-conflict
10-
- id: check-docstring-first
11-
- id: check-executables-have-shebangs
12-
- id: check-json
13-
- id: check-symlinks
14-
- id: check-vcs-permalinks
15-
- id: check-yaml
16-
- id: detect-private-key
17-
- id: end-of-file-fixer
18-
- id: requirements-txt-fixer
19-
- id: trailing-whitespace
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v2.4.0
9+
hooks:
10+
- id: check-added-large-files
11+
- id: check-byte-order-marker
12+
- id: check-case-conflict
13+
- id: check-docstring-first
14+
- id: check-executables-have-shebangs
15+
- id: check-json
16+
- id: check-symlinks
17+
- id: check-vcs-permalinks
18+
- id: check-yaml
19+
- id: detect-private-key
20+
- id: end-of-file-fixer
21+
- id: requirements-txt-fixer
22+
- id: trailing-whitespace
23+
24+
- repo: https://github.com/pre-commit/pygrep-hooks
25+
rev: v1.5.1
26+
hooks:
27+
- id: python-no-eval
28+
- id: python-use-type-annotations
2029

21-
- repo: https://github.com/pre-commit/pygrep-hooks
22-
rev: v1.5.1
23-
hooks:
24-
- id: python-no-eval
25-
- id: python-use-type-annotations
30+
- repo: https://github.com/asottile/pyupgrade
31+
rev: v1.5.1
32+
hooks:
33+
- id: pyupgrade
34+
args: [--py36-plus]
2635

27-
- repo: https://github.com/asottile/pyupgrade
28-
rev: v1.5.1
29-
hooks:
30-
- id: pyupgrade
31-
args: [--py36-plus]
36+
- repo: https://github.com/pre-commit/mirrors-yapf
37+
rev: v0.30.0
38+
hooks:
39+
- id: yapf
40+
args: [exclude *.pyi]
3241

33-
#- repo: https://github.com/asottile/add-trailing-comma
34-
# rev: v2.0.1
35-
# hooks:
36-
# - id: add-trailing-comma
42+
- repo: https://github.com/Lucas-C/pre-commit-hooks
43+
rev: v1.1.7
44+
hooks:
45+
- id: forbid-crlf
46+
- id: remove-crlf
3747

38-
#- repo: https://gitlab.com/pycqa/flake8
39-
# rev: 3.8.2
40-
# hooks:
41-
# - id: flake8
48+
# - repo: https://github.com/shellcheck-py/shellcheck-py
49+
# rev: v0.7.1.1
50+
# hooks:
51+
# - id: shellcheck
4252

43-
- repo: https://github.com/pre-commit/mirrors-yapf
44-
rev: v0.30.0
45-
hooks:
46-
- id: yapf
47-
args: [exclude *.pyi]
53+
# - repo: https://github.com/adrienverge/yamllint
54+
# rev: v1.23.0
55+
# hooks:
56+
# - id: yamllint

.readthedocs.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
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
86
version: 2
97

10-
# Build documentation in the docs/ directory with Sphinx
118
sphinx:
129
builder: html
1310
configuration: doc-source/conf.py
1411

1512
# Optionally build your docs in additional formats such as PDF and ePub
1613
formats: all
1714

18-
# Optionally set the version of Python and requirements required to build your docs
1915
python:
2016
version: 3.6
2117
install:

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This file is managed by `repo_helper`. Don't edit it directly
2+
---
23

34
language: python
45
dist: xenial

0 commit comments

Comments
 (0)