Skip to content

Commit 5e9639a

Browse files
Updated files with 'repo_helper'. (#21)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 13896a4 commit 5e9639a

20 files changed

+161
-198
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ tag = True
1313

1414
[bumpversion:file:seed_intersphinx_mapping/__init__.py]
1515

16+
search = : str = "{current_version}"
17+
replace = : str = "{new_version}"
18+
1619
[bumpversion:file:pyproject.toml]

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ THE ISSUE WILL BE CLOSED IF INSUFFICIENT INFORMATION IS PROVIDED.
1717

1818

1919
## Steps to Reproduce
20-
<!--Please add a series of steps to reproduce the issue-->
20+
<!--Please add a series of steps to reproduce the issue.
21+
22+
If possible, please include a small, self-contained reproduction.
23+
-->
2124

2225
1.
2326
2.

.github/workflows/conda_ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ name: Conda Tests
44

55
on:
66
push:
7-
pull_request:
87
branches: ["master"]
98

109
jobs:

.github/workflows/docs_test_action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
---
33
name: "Docs Check"
44
on:
5-
- pull_request
65
- push
76

87
jobs:

.github/workflows/flake8.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ name: Flake8
44

55
on:
66
push:
7-
pull_request:
8-
branches: ["master"]
97

108
jobs:
119
Run:

.github/workflows/mypy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ name: mypy
44

55
on:
66
push:
7-
pull_request:
8-
branches: ["master"]
97

108
jobs:
119
Run:
@@ -14,7 +12,7 @@ jobs:
1412

1513
strategy:
1614
matrix:
17-
os: ['windows-2019', 'macos-latest', 'ubuntu-20.04']
15+
os: ['ubuntu-20.04', 'windows-2019']
1816
fail-fast: false
1917

2018
steps:

.github/workflows/python_ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ name: Windows
44

55
on:
66
push:
7-
pull_request:
8-
branches: ["master"]
97

108
jobs:
119
tests:
1210
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
1311
runs-on: "windows-2019"
1412
continue-on-error: ${{ matrix.config.experimental }}
1513
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.5,pypy-3.6,pypy-3.7'
14+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.6,pypy-3.6,pypy-3.7'
1715

1816
strategy:
1917
fail-fast: False
@@ -23,9 +21,9 @@ jobs:
2321
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
2422
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
2523
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
26-
- {python-version: "3.10.0-alpha.5", testenvs: "py310-dev,build", experimental: True}
24+
- {python-version: "3.10.0-alpha.6", testenvs: "py310-dev,build", experimental: True}
2725
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
28-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
26+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2927

3028
steps:
3129
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ name: Linux
44

55
on:
66
push:
7-
pull_request:
8-
branches: ["master"]
97

108
jobs:
119
tests:
1210
name: "ubuntu-20.04 / Python ${{ matrix.config.python-version }}"
1311
runs-on: "ubuntu-20.04"
1412
continue-on-error: ${{ matrix.config.experimental }}
1513
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.5,pypy-3.6,pypy-3.7'
14+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.6,pypy-3.6,pypy-3.7'
1715

1816
strategy:
1917
fail-fast: False
@@ -23,9 +21,9 @@ jobs:
2321
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
2422
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
2523
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
26-
- {python-version: "3.10.0-alpha.5", testenvs: "py310-dev,build", experimental: True}
24+
- {python-version: "3.10.0-alpha.6", testenvs: "py310-dev,build", experimental: True}
2725
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
28-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
26+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2927

3028
steps:
3129
- name: Checkout 🛎️
@@ -127,7 +125,7 @@ jobs:
127125

128126
- name: Upload distribution to PyPI 🚀
129127
if: startsWith(github.ref, 'refs/tags/')
130-
uses: pypa/gh-action-pypi-publish@master
128+
uses: pypa/gh-action-pypi-publish@v1.4.2
131129
with:
132130
user: __token__
133131
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/python_ci_macos.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ name: macOS
44

55
on:
66
push:
7-
pull_request:
8-
branches: ["master"]
97

108
jobs:
119
tests:
1210
name: "macos-latest / Python ${{ matrix.config.python-version }}"
1311
runs-on: "macos-latest"
1412
continue-on-error: ${{ matrix.config.experimental }}
1513
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.5,pypy-3.6,pypy-3.7'
14+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.6,pypy-3.6,pypy-3.7'
1715

1816
strategy:
1917
fail-fast: False
@@ -23,9 +21,9 @@ jobs:
2321
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
2422
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
2523
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
26-
- {python-version: "3.10.0-alpha.5", testenvs: "py310-dev,build", experimental: True}
24+
- {python-version: "3.10.0-alpha.6", testenvs: "py310-dev,build", experimental: True}
2725
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
28-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
26+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2927

3028
steps:
3129
- name: Checkout 🛎️

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ repos:
7474
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.(_)?py$
7575

7676
- repo: https://github.com/domdfcoding/dep_checker
77-
rev: v0.5.0
77+
rev: v0.6.0
7878
hooks:
7979
- id: dep_checker
8080
args:

.readthedocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ version: 2
55
sphinx:
66
builder: html
77
configuration: doc-source/conf.py
8-
formats: all
8+
formats:
9+
- pdf
10+
- htmlzip
911
python:
1012
version: 3.8
1113
install:

__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
__version__ = "0.4.0"
3030
repo_root = pathlib.Path(__file__).parent
3131
install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n')
32-
extras_require = {"all": []}
32+
extras_require = {}

doc-source/_static/style.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
/* This file is managed by 'repo_helper'. Don't edit it directly. */
22

33
div.highlight {
4-
-moz-tab-size: 4; /* Firefox */
5-
tab-size: 4;
4+
-moz-tab-size: 4;
5+
tab-size: 4;
6+
}
7+
8+
.field-list dt, dl.simple dt {
9+
margin-top: 0.5rem;
610
}

doc-source/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"""
2424

2525
author = "Dominic Davis-Foster"
26-
project = "seed_intersphinx_mapping"
26+
project = "seed_intersphinx_mapping".replace('_', '-')
2727
slug = re.sub(r'\W+', '-', project.lower())
2828
release = version = __version__
2929
copyright = "2020-2021 Dominic Davis-Foster" # pylint: disable=redefined-builtin
@@ -34,7 +34,9 @@
3434
"sphinx_toolbox",
3535
"sphinx_toolbox.more_autodoc",
3636
"sphinx_toolbox.more_autosummary",
37+
"sphinx_toolbox.documentation_summary",
3738
"sphinx_toolbox.tweaks.param_dash",
39+
"sphinx_toolbox.tweaks.latex_toc",
3840
"sphinx.ext.intersphinx",
3941
"sphinx.ext.mathjax",
4042
"sphinxcontrib.httpdomain",
@@ -109,7 +111,7 @@
109111
hide_none_rtype = True
110112
all_typevars = True
111113
overloads_location = "bottom"
112-
114+
documentation_summary = "Populate the Sphinx 'intersphinx_mapping' dictionary from the project's requirements."
113115

114116
autodoc_exclude_members = [ # Exclude "standard" methods.
115117
"__dict__",

0 commit comments

Comments
 (0)