Skip to content

Commit 9c8bad7

Browse files
authored
Merge branch 'master' into int/ruff
2 parents 37fdfd8 + 77a6dc5 commit 9c8bad7

File tree

2 files changed

+46
-14
lines changed

2 files changed

+46
-14
lines changed

.github/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Configuration for welcome - https://github.com/behaviorbot/welcome
2+
3+
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
4+
5+
# Comment to be posted to on first time issues
6+
newIssueWelcomeComment: >
7+
![Thank You Banner](https://raw.githubusercontent.com/physiopy/physiopy-test-workflows/master/welcome_banner.png)
8+
9+
🎉 Thank you for opening your first issue in this Physiopy repo! Please check our [contributor guide](https://physiopy.github.io/contributors-guide/) and follow the issue template.
10+
11+
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
12+
13+
# Comment to be posted to on PRs from first time contributors in your repository
14+
newPRWelcomeComment: >
15+
![Thank You Banner](https://raw.githubusercontent.com/physiopy/physiopy-test-workflows/master/welcome_banner.png)
16+
17+
🎉 Thanks for opening your first pull request in this Physiopy repo! Please check our [contributor guide](https://physiopy.github.io/contributors-guide/) and follow the PR template.
18+
19+
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
20+
21+
# Comment to be posted to on pull requests merged by a first time user
22+
firstPRMergeComment: >
23+
![Thank You Banner](https://raw.githubusercontent.com/physiopy/physiopy-test-workflows/master/welcome_banner.png)
24+
25+
🎉 Congrats on merging your first pull request in this repo! We appreciate your contribution to the Physiopy community!
26+
:eyes: Please check that your contribution is correctly reported in the README of this repo and on [Physiopy's website](https://physiopy.github.io/community/team/)!

README.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ This is a template for physiopy's repositories (and other repositories based on
66

77
Remember to change the licence as soon as you adopt the template.
88

9+
This repository is meant to be a template for python3 projects. If the repository you are making is more documentation focused, you may not require all the of the configurations below.
10+
911
Available Configurations
1012
------------------------
11-
This repository is meant to be a template for python3 projects.
1213
- CircleCI medium docker running Linux (python 3.7, 3.10, style checks, and coverage)
1314
- Auto release based on Github versioning with Physiopy's labels.
1415
- `.gitattributes` for python
@@ -22,17 +23,23 @@ This repository is meant to be a template for python3 projects.
2223
- Versioneer
2324
- Issue templates (bugs, feature requests, generic)
2425
- PR template
25-
- Workflows & Bots (Dependabot, Labeler, bot automerge, auto author assignment, Auto release, and PyPI upload)
26+
- Workflows (Auto label, bot automerge, auto author assignment, Auto release, and PyPI upload)
27+
- Bots (Welcome bot via `config.yml`, Dependabot)
2628

2729
Usage
2830
-----
29-
1. Find and replace the items between `<>`, for instance `<reponame>`, throughout all files in the repository.
30-
2. If using outside of physiopy, find all `physiopy`s indicating the owner in github paths, and change it to your handle
31-
3. Change `'physiopy/physiopy-repository-template'` in line 15 of `.github/workflows/bot.yml` into what it needs to be.
32-
3. Change licence and make sure to activate the licence of choice correctly.
31+
1. Start a new repository selecting this template
32+
2a. If using within physiopy, fork the repository and clone your fork locally as `origin`
33+
2b. If using alone, clone the repository locally as `origin`
34+
3. If using within physiopy, set the physiopy version of this repository as `upstream`
3335
4. Set up your default pushes to `origin` (`git config remote.pushDefault origin`)
34-
5. Check setup.cfg
35-
6. Finish setting up everything.
36+
5. Find and replace the items between `<>`, for instance `<reponame>`, throughout all files in the repository.
37+
6. If using outside of physiopy, find all `physiopy`s indicating the owner in github paths, and change it to your handle. Don't do this for your fork of a physiopy repository.
38+
7. Change `'physiopy/physiopy-repository-template'` in line 15 of `.github/workflows/bot.yml` into what it needs to be.
39+
8. Change licence and make sure to activate the licence of choice correctly.
40+
9. Check and set up setup.cfg
41+
10. Remove or add configurations; finalise set up, then push your first PR.
42+
3643

3744
More explanation coming soon.
3845

@@ -58,7 +65,7 @@ More explanation coming soon.
5865
[![Supports python version](https://img.shields.io/pypi/pyversions/<reponame>)](https://pypi.org/project/<reponame>/)
5966

6067
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
61-
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat)](#contributors)
68+
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat)](#contributors-)
6269
<!-- ALL-CONTRIBUTORS-BADGE:END -->
6370

6471
``<reponame>`` is a python3 library meant to do something.
@@ -70,10 +77,9 @@ More explanation coming soon.
7077
[Read the latest documentation](https://<reponame>.readthedocs.io/en/latest/) for more information on <reponame>!
7178

7279
## Tested OSs
73-
We woudl love to do that, but for teh moment we cannot support **Windows or MacOS testing**. The reason is related to the cost of running such tests: for each non-Linux test, we can run up to 8 tests on Linux instead. Partial Windows and MacOS testing might be introduced in future releases.
80+
We would love to do that, but for the moment we cannot support **Windows or MacOS testing**. The reason is related to the cost of running such tests: for each non-Linux test, we can run up to 8 tests on Linux instead. Partial Windows and MacOS testing might be introduced in future releases.
7481

75-
Hence, while **we cannot ensure that <reponame> will run on Windows or MacOS**, however we don't see any reason it shouldn't.
76-
Besides, it will run on Windows Linux Subsistems.
82+
Hence, while **we cannot ensure that <reponame> will run on Windows or MacOS**, we don't see any reason it shouldn't. Besides, it will run on Windows Linux Subsystems.
7783

7884
We apologise for the discomfort.
7985

@@ -91,12 +97,12 @@ Check the issues with a `BrainWeb` label. Of course, they are only suggestions,
9197
You can also contact us on Gitter, in the BrainHack Mattermost (<a href="https://mattermost.brainhack.org/brainhack/channels/physiopy">#physiopy</a>), and don't hesitate to contact [Stefano](https://github.com/smoia) in other ways to jump in the development!
9298
-->
9399

100+
## Contributors ✨
101+
94102
**We're looking for code contributors,** but any suggestion/bug report is welcome! Feel free to open issues!
95103

96104
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
97105

98-
## Contributors ✨
99-
100106
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
101107
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
102108
<!-- prettier-ignore-start -->

0 commit comments

Comments
 (0)