Skip to content

Commit e8a0ca1

Browse files
committed
Updating configuration files
1 parent 61e772d commit e8a0ca1

20 files changed

+158
-80
lines changed

.ci/copy_pypi_2_github.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
# stdlib
23
import json
34
import os

.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/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

.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: 3 additions & 1 deletion
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
@@ -58,4 +60,4 @@ limitPerRun: 30
5860

5961
# issues:
6062
# exemptLabels:
61-
# - confirmed
63+
# - confirmed

.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:

.pre-commit-config.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

.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:

0 commit comments

Comments
 (0)