This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
generated from pyiron/pyiron_module_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a854f17
Showing
50 changed files
with
2,315 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- pyiron_base =0.8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# pip install main | ||
pip install --no-deps . | ||
# Note: This produces build and pyiron_module_template.egg-info directories | ||
|
||
# clean up | ||
if [ -d "notebooks" ]; then | ||
mv notebooks/* . | ||
fi | ||
if [ -d "${HOME}/pyiron_module_template" ]; then | ||
rm -r ${HOME}/.binder \ | ||
${HOME}/.ci_support \ | ||
${HOME}/.github \ | ||
${HOME}/build \ | ||
${HOME}/docs \ | ||
${HOME}/notebooks \ | ||
${HOME}/pyiron_module_template \ | ||
${HOME}/pyiron_module_template.egg-info \ | ||
${HOME}/tests \ | ||
${HOME}/.gitattributes \ | ||
${HOME}/.gitignore \ | ||
${HOME}/.gitpod \ | ||
${HOME}/.readthedocs.yml \ | ||
${HOME}/CODE_OF_CONDUCT.md \ | ||
${HOME}/CONTRIBUTING.rst \ | ||
${HOME}/LICENSE \ | ||
${HOME}/MANIFEST.in \ | ||
${HOME}/pyproject.toml \ | ||
${HOME}/setup.py | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- pyiron_base =0.8.3 | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# .coveragerc to control coverage.py | ||
[run] | ||
source = pyiron_module_template | ||
omit = pyiron_module_template/_version.py | ||
concurrency = multiprocessing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pyiron_module_template/_version.py export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help us eliminate issues and improve pyiron_module_template | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Summary** | ||
|
||
<!--Please provide a clear and concise description of what the bug is.--> | ||
|
||
**pyiron Version and Platform** | ||
|
||
<!--Please specify precisely how you installed pyiron and configured pyiron. Post your .pyiron configuration and list your pyiron version.--> | ||
|
||
**Expected Behavior** | ||
|
||
<!--Describe the expected behavior.--> | ||
|
||
**Actual Behavior** | ||
|
||
<!--Describe the actual behavior, how it differs from the expected behavior, and how this can be observed.--> | ||
|
||
**Steps to Reproduce** | ||
|
||
<!--Describe the steps required to (quickly) reproduce the issue.--> | ||
|
||
**Further Information, Files, and Links** | ||
|
||
<!--Put any additional information here, attach relevant text or image files and URLs to external sites, e.g. relevant publications--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Make a suggestion for a new feature or a change to pyiron_module_template | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Summary** | ||
|
||
<!--Please provide a brief and concise description of the suggested feature or change--> | ||
|
||
**Detailed Description** | ||
|
||
<!--Please explain how you would like to see pyiron_module_template enhanced, what feature(s) you are looking for, what specific problems this will solve.--> | ||
|
||
**Further Information, Files, and Links** | ||
|
||
<!--Put any additional information here, attach relevant text or image files and URLs to external sites, e.g. relevant publications--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: Bug fix | ||
about: Submit a pull request that fixes one or more bugs | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Summary** | ||
|
||
<!--Briefly describe the bug(s) that are eliminated by this pull request.--> | ||
|
||
**Related Issue(s)** | ||
|
||
<!--If this addresses an open GitHub issue for this project, please mention the issue number here, and describe the relation. Use the phrases `fixes #221` or `closes #135`, when you want an issue to be automatically closed when the pull request is merged--> | ||
|
||
**Backward Compatibility** | ||
|
||
<!--Please state whether any changes in the pull request will break backward compatibility for inputs, and - if yes - explain what has been changed and why--> | ||
|
||
**Detailed Description** | ||
|
||
<!--Provide any relevant details about how the fixed bug can be reproduced, how the changes are implemented, how correctness was verified, how other features - if any - in pyiron are affected--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: New Feature | ||
about: Submit a pull request that adds new Features (complete files) to pyiron | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Summary** | ||
|
||
<!--Briefly describe the new feature(s) included in this pull request.--> | ||
|
||
**Related Issue(s)** | ||
|
||
<!--If this addresses an open GitHub issue for this project, please mention the issue number here, and describe the relation. Use the phrases `fixes #221` or `closes #135`, when you want an issue to be automatically closed when the pull request is merged--> | ||
|
||
**Backward Compatibility** | ||
|
||
<!--Please state whether any changes in the pull request will break backward compatibility for inputs, and - if yes - explain what has been changed and why--> | ||
|
||
**Implementation Notes** | ||
|
||
<!--Provide any relevant details about how the new feature(s) are implemented, how correctness was verified, how other features - if any - in pyiron are affected--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: pip | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
day: monday | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Configuration for probot-stale - https://github.com/probot/stale | ||
|
||
# Number of days of inactivity before an Issue or Pull Request becomes stale | ||
daysUntilStale: 14 | ||
|
||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. | ||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. | ||
daysUntilClose: 14 | ||
|
||
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) | ||
onlyLabels: [] | ||
|
||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable | ||
exemptLabels: [] | ||
|
||
# Set to true to ignore issues in a project (defaults to false) | ||
exemptProjects: false | ||
|
||
# Set to true to ignore issues in a milestone (defaults to false) | ||
exemptMilestones: false | ||
|
||
# Set to true to ignore issues with an assignee (defaults to false) | ||
exemptAssignees: false | ||
|
||
# Label to use when marking as stale | ||
staleLabel: stale | ||
|
||
# Comment to post when marking as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when removing the stale label. | ||
# unmarkComment: > | ||
# Your comment here. | ||
|
||
# Comment to post when closing a stale Issue or Pull Request. | ||
# closeComment: > | ||
# Your comment here. | ||
|
||
# Limit the number of actions per hour, from 1-30. Default is 30 | ||
limitPerRun: 30 | ||
|
||
# Limit to only `issues` or `pulls` | ||
only: pulls | ||
|
||
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': | ||
# pulls: | ||
# daysUntilStale: 30 | ||
# markComment: > | ||
# This pull request has been automatically marked as stale because it has not had | ||
# recent activity. It will be closed if no further activity occurs. Thank you | ||
# for your contributions. | ||
|
||
# issues: | ||
# exemptLabels: | ||
# - confirmed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This runs cron jobs daily | ||
|
||
name: Daily | ||
|
||
on: | ||
schedule: | ||
- cron: '0 23 * * *' | ||
|
||
jobs: | ||
codeql: | ||
uses: pyiron/actions/.github/workflows/[email protected] | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: UpdateDependabotPR | ||
|
||
on: | ||
pull_request_target: | ||
branches: [ main ] | ||
|
||
jobs: | ||
pyiron: | ||
uses: pyiron/actions/.github/workflows/[email protected] | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This runs jobs which pyiron modules should run when a PR is labeled | ||
|
||
name: PR labeled | ||
|
||
on: | ||
pull_request: | ||
types: [labeled] | ||
|
||
jobs: | ||
pyiron: | ||
uses: pyiron/actions/.github/workflows/[email protected] | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This runs jobs which pyiron modules should run when a PR target is opened | ||
|
||
name: PR opened | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
pyiron: | ||
uses: pyiron/actions/.github/workflows/[email protected] | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This runs jobs which pyiron modules should run on release | ||
# This job runs on pull requests and does not actually publish anything to pypi | ||
# It is useful for debugging new build recipes | ||
# To actually release, change the `on` and `publish-to-pypi` fields | ||
name: Preview Release | ||
|
||
on: | ||
pull_request: | ||
# release: | ||
# types: [ published ] | ||
|
||
jobs: | ||
pyiron: | ||
uses: pyiron/actions/.github/workflows/[email protected] | ||
secrets: inherit | ||
with: | ||
semantic-upper-bound: 'minor' | ||
publish-to-pypi: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This runs jobs which pyiron modules should run on pushes or PRs to main | ||
|
||
name: Push-Pull | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
|
||
jobs: | ||
pyiron: | ||
uses: pyiron/actions/.github/workflows/[email protected] | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This runs cron jobs weekly | ||
|
||
name: Weekly | ||
|
||
on: | ||
schedule: | ||
- cron: '0 23 * * 2' | ||
|
||
jobs: | ||
codeql: | ||
uses: pyiron/actions/.github/workflows/[email protected] | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
*.pyc | ||
.DS_Store | ||
.coverage | ||
nohup.out | ||
pyiron.log | ||
.idea/ | ||
inspectionProfiles/ | ||
_build/ | ||
apidoc/ | ||
.ipynb_checkpoints/ | ||
test_times.dat | ||
core.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
github: | ||
prebuilds: | ||
pullRequestsFromForks: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "mambaforge-22.9" | ||
jobs: | ||
pre_build: | ||
- pip install versioneer[toml]==0.29 | ||
- pip install . --no-deps --no-build-isolation | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Build documentation with MkDocs | ||
#mkdocs: | ||
# configuration: mkdocs.yml | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
formats: all | ||
|
||
# Install pyiron from conda | ||
conda: | ||
environment: docs/environment.yml |
Oops, something went wrong.