Skip to content

Commit 840599d

Browse files
Merge pull request #1 from SimonMolinsky/type-hints
Type hints
2 parents 33ee049 + 4a21c54 commit 840599d

17 files changed

+20041
-62
lines changed

.all-contributorsrc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,36 @@
193193
"design",
194194
"review"
195195
]
196+
},
197+
{
198+
"login": "aragilar",
199+
"name": "James Tocknell",
200+
"avatar_url": "https://avatars.githubusercontent.com/u/1281144?v=4",
201+
"profile": "http://web.science.mq.edu.au/directory/listing/person.htm?id=tjames",
202+
"contributions": [
203+
"code",
204+
"review"
205+
]
206+
},
207+
{
208+
"login": "frostming",
209+
"name": "Frost Ming",
210+
"avatar_url": "https://avatars.githubusercontent.com/u/16336606?v=4",
211+
"profile": "https://frostming.com",
212+
"contributions": [
213+
"code",
214+
"review"
215+
]
216+
},
217+
{
218+
"login": "hugovk",
219+
"name": "Hugo van Kemenade",
220+
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
221+
"profile": "https://github.com/hugovk",
222+
"contributions": [
223+
"code",
224+
"review"
225+
]
196226
}
197227
],
198228
"contributorsPerLine": 7,
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Book Preview
2+
3+
on: [status]
4+
5+
jobs:
6+
circleci_artifacts_redirector_job:
7+
runs-on: ubuntu-latest
8+
if: "${{ github.event.context == 'ci/circleci: build_book' }}"
9+
name: Run CircleCI artifacts redirector
10+
steps:
11+
- name: GitHub Action step
12+
id: step1
13+
uses: larsoner/circleci-artifacts-redirector-action@master
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
artifact-path: 0/html/index.html
17+
circleci-jobs: build_book
18+
job-title: Click to preview rendered book

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ tmp/
55
.DS_Store
66
.nox
77
__pycache__
8+
*notes-from-review.md
9+
*.idea*

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# <img src="images/logo/logo.png" width=40 /> pyOpenSci Scientific Python Open Source Packaging Guide
22
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
3-
[![All Contributors](https://img.shields.io/badge/all_contributors-18-orange.svg?style=flat-square)](#contributors-)
3+
[![All Contributors](https://img.shields.io/badge/all_contributors-21-orange.svg?style=flat-square)](#contributors-)
44
<!-- ALL-CONTRIBUTORS-BADGE:END -->
55

66
![GitHub release (latest by date)](https://img.shields.io/github/v/release/pyopensci/python-package-guide?color=purple&display_name=tag&style=plastic)
@@ -99,6 +99,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
9999
<td align="center" valign="top" width="14.28%"><a href="https://pradyunsg.me"><img src="https://avatars.githubusercontent.com/u/3275593?v=4?s=100" width="100px;" alt="Pradyun Gedam"/><br /><sub><b>Pradyun Gedam</b></sub></a><br /><a href="https://github.com/pyOpenSci/python-package-guide/commits?author=pradyunsg" title="Code">💻</a> <a href="#design-pradyunsg" title="Design">🎨</a> <a href="https://github.com/pyOpenSci/python-package-guide/pulls?q=is%3Apr+reviewed-by%3Apradyunsg" title="Reviewed Pull Requests">👀</a></td>
100100
<td align="center" valign="top" width="14.28%"><a href="https://ofek.dev"><img src="https://avatars.githubusercontent.com/u/9677399?v=4?s=100" width="100px;" alt="Ofek Lev"/><br /><sub><b>Ofek Lev</b></sub></a><br /><a href="https://github.com/pyOpenSci/python-package-guide/commits?author=ofek" title="Code">💻</a> <a href="#design-ofek" title="Design">🎨</a> <a href="https://github.com/pyOpenSci/python-package-guide/pulls?q=is%3Apr+reviewed-by%3Aofek" title="Reviewed Pull Requests">👀</a></td>
101101
<td align="center" valign="top" width="14.28%"><a href="https://orcid.org/0000-0003-2843-6044"><img src="https://avatars.githubusercontent.com/u/1662261?v=4?s=100" width="100px;" alt="Chiara Marmo"/><br /><sub><b>Chiara Marmo</b></sub></a><br /><a href="https://github.com/pyOpenSci/python-package-guide/commits?author=cmarmo" title="Code">💻</a> <a href="#design-cmarmo" title="Design">🎨</a> <a href="https://github.com/pyOpenSci/python-package-guide/pulls?q=is%3Apr+reviewed-by%3Acmarmo" title="Reviewed Pull Requests">👀</a></td>
102+
<td align="center" valign="top" width="14.28%"><a href="http://web.science.mq.edu.au/directory/listing/person.htm?id=tjames"><img src="https://avatars.githubusercontent.com/u/1281144?v=4?s=100" width="100px;" alt="James Tocknell"/><br /><sub><b>James Tocknell</b></sub></a><br /><a href="https://github.com/pyOpenSci/python-package-guide/commits?author=aragilar" title="Code">💻</a> <a href="https://github.com/pyOpenSci/python-package-guide/pulls?q=is%3Apr+reviewed-by%3Aaragilar" title="Reviewed Pull Requests">👀</a></td>
103+
<td align="center" valign="top" width="14.28%"><a href="https://frostming.com"><img src="https://avatars.githubusercontent.com/u/16336606?v=4?s=100" width="100px;" alt="Frost Ming"/><br /><sub><b>Frost Ming</b></sub></a><br /><a href="https://github.com/pyOpenSci/python-package-guide/commits?author=frostming" title="Code">💻</a> <a href="https://github.com/pyOpenSci/python-package-guide/pulls?q=is%3Apr+reviewed-by%3Afrostming" title="Reviewed Pull Requests">👀</a></td>
104+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/hugovk"><img src="https://avatars.githubusercontent.com/u/1324225?v=4?s=100" width="100px;" alt="Hugo van Kemenade"/><br /><sub><b>Hugo van Kemenade</b></sub></a><br /><a href="https://github.com/pyOpenSci/python-package-guide/commits?author=hugovk" title="Code">💻</a> <a href="https://github.com/pyOpenSci/python-package-guide/pulls?q=is%3Apr+reviewed-by%3Ahugovk" title="Reviewed Pull Requests">👀</a></td>
102105
</tr>
103106
</tbody>
104107
</table>

conf.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
# -- Project information -----------------------------------------------------
1919

20-
project = 'python-package-guide'
21-
copyright = '2023, pyOpenSci'
22-
author = 'pyOpenSci Community'
20+
project = "python-package-guide"
21+
copyright = "2023, pyOpenSci"
22+
author = "pyOpenSci Community"
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.1'
25+
release = "0.1"
2626

2727
# -- General configuration ---------------------------------------------------
2828

@@ -47,7 +47,7 @@
4747
myst_heading_anchors = 3
4848

4949
# For generating sitemap
50-
html_baseurl = 'https://www.pyopensci.org/software-peer-review/'
50+
html_baseurl = "https://www.pyopensci.org/software-peer-review/"
5151

5252
# Link to our repo for easy PR/ editing
5353
html_theme_options = {
@@ -81,7 +81,7 @@
8181
"header_links_before_dropdown": 4,
8282
"use_edit_page_button": True,
8383
"show_toc_level": 1,
84-
#"navbar_align": "left", # [left, content, right] For testing that the navbar items align properly
84+
# "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly
8585
"github_url": "https://github.com/pyopensci/python-package-guide",
8686
"twitter_url": "https://twitter.com/pyopensci",
8787
"footer_items": ["copyright"],
@@ -99,11 +99,11 @@
9999

100100
# Add analytics to furo theme
101101
gtagjs_ids = [
102-
'UA-141260825-1',
102+
"UA-141260825-1",
103103
]
104104

105105
# Add any paths that contain templates here, relative to this directory.
106-
templates_path = ['_templates']
106+
templates_path = ["_templates"]
107107

108108
# List of patterns, relative to source directory, that match files and
109109
# directories to ignore when looking for source files.
@@ -114,20 +114,20 @@
114114
".DS_Store",
115115
".github",
116116
".nox",
117-
"README.md"
118-
]
117+
"README.md",
118+
]
119119

120120
# For sitemap
121-
html_baseurl = 'https://www.pyopensci.org/package-review-guide/'
121+
html_baseurl = "https://www.pyopensci.org/package-review-guide/"
122122

123123
# -- Options for HTML output -------------------------------------------------
124124

125125
# The theme to use for HTML and HTML Help pages. See the documentation for
126126
# a list of builtin themes.
127127
#
128-
html_theme = 'pydata_sphinx_theme'
128+
html_theme = "pydata_sphinx_theme"
129129
html_static_path = ["_static"]
130130
html_css_files = ["pyos.css"]
131+
html_title = "pyOpenSci Python Packaging Guide"
131132
html_js_files = ["matomo.js"]
132-
html_title = "pyOpenSci Package Guide"
133133
html_logo = "images/logo/logo.png"

0 commit comments

Comments
 (0)