Skip to content

Commit

Permalink
Merge pull request #4 from cgs-earth/template
Browse files Browse the repository at this point in the history
Add cgs-earth/template repository configuration
  • Loading branch information
webb-ben authored Apr 5, 2024
2 parents 7d4ba11 + 376238b commit a4b80fc
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---


**Description**
A clear and concise description of what the bug is.

**Steps to Reproduce**
Steps to reproduce the behavior:

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots/Tracebacks**
If applicable, add screenshots to help explain your problem.

**Environment**
- OS:
- Python version:
- Python env/venv:

**Additional context**
Add any other context about the problem here.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Documentation issue
about: Create a report to improve documenation
title: ''
labels: documentation
assignees: ''

---

**Description**
A clear and concise description of the documentation issue or improvement

**Current Documentation**
Links or description of the current documentation.

**Suggested Improvement**
Describe the suggested improvement or fix.

**Steps to Reproduce (if applicable)**
If relevant, steps to reproduce the issue with the current documentation.

**Additional Context**
Any additional context, screenshots, or code examples.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---


**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Description
<!-- Describe the purpose of this pull request -->

# Changes Made
<!-- Provide a brief overview of the changes implemented in this pull request -->

# Related Issues
<!-- If this pull request resolves any GitHub issues, reference them here -->

# Additional Notes
<!-- Any additional information or context about the pull request -->
24 changes: 24 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: flake8 ⚙️

on: [ push, pull_request ]

jobs:
main:
runs-on: ubuntu-latest

steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
architecture: x64
- name: Checkout repository
uses: actions/checkout@master
- name: Install flake8
run: pip install flake8 flake8-nb
- name: run flake8 ⚙️
run: |
find . -type f -name "*.py" | xargs flake8
- name: run flake8-notebook ⚙️
run: |
find . -type f -name "*.ipynb" | xargs flake8-nb
2 changes: 1 addition & 1 deletion hydrodump/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_package_version():
project_urls={
'Homepage': 'https://github.com/cgs-earth/sensorthings-action',
'Source Code': 'https://github.com/cgs-earth/sensorthings-action',
'Issue Tracker': 'https://github.com/cgs-earth/sensorthings-action/issues'
'Issue Tracker': 'https://github.com/cgs-earth/sensorthings-action/issues' # noqa
},
cmdclass={'test': PyTest},
test_suite='tests.run_tests'
Expand Down

0 comments on commit a4b80fc

Please sign in to comment.