Skip to content

Important cookietemple template update 2.2.0 released! #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .bandit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
### profile may optionally select or skip tests

# (optional) list included tests here:
tests: []

# (optional) list skipped tests here:
skips: ['B403', 'B404', 'B603', 'B607']
skips: ["B403", "B404", "B603", "B607"]
18 changes: 11 additions & 7 deletions .cookietemple.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
cookietemple_version: '1.3.0 # <<COOKIETEMPLE_NO_BUMP>>'
domain: cli
language: python
project_slug: system_intelligence
template_version: '1.0.0 # <<COOKIETEMPLE_NO_BUMP>>'
project_slug: system-intelligence
project_slug_no_hyphen: system_intelligence
template_version: '2.2.0 # <<COOKIETEMPLE_NO_BUMP>>'
template_handle: cli-python
github_username: zethson
github_username: mlf-core
creator_github_username: Imipenem
is_github_repo: true
is_repo_private: false
is_github_orga: true
github_orga: mlf-core
full_name: Lukas Heumos
email: [email protected]
project_name: system-intelligence
project_short_description: Query your system for all hardware and software related
information.
version: 0.1.0
version: 2.0.1
license: Apache2.0
command_line_interface: Click
testing_library: pytest
use_pytest: y
4 changes: 0 additions & 4 deletions .coveragerc

This file was deleted.

2 changes: 2 additions & 0 deletions .darglint
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[darglint]
strictness = short
10 changes: 0 additions & 10 deletions .dependabot/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ insert_final_newline = false

[Makefile]
indent_style = tab

7 changes: 7 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[flake8]
select = B,B9,C,D,DAR,E,F,N,RST,S,W
ignore = E203,E501,RST201,RST203,RST301,W503,D100
max-line-length = 120
max-complexity = 10
docstring-convention = google
per-file-ignores = tests/*:S101
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
25 changes: 15 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
---
name: Bug report
about: Create a bug report to help us improve
title: 'Bug Summary'
labels: ''
assignees: ''

title: "Bug Summary"
labels: "bug"
assignees: ""
---

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

<!-- A clear and concise description of what the bug is. -->

**To Reproduce**

Steps to reproduce the behavior:

1. ...
2. ...
3. ...

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

<!-- A clear and concise description of what you expected to happen. -->

**System [please complete the following information]:**
- OS: e.g. [Ubuntu 18.04]
- Language Version: [e.g. Python 3.8]
- Virtual environment: [e.g. Conda]

- OS: e.g. [Ubuntu 18.04]
- Language Version: [e.g. Python 3.8]
- Virtual environment: [e.g. Conda]

**Additional context**
Add any other context about the problem here.

<!-- Add any other context about the problem here. -->
19 changes: 9 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
---
name: Feature request
about: Suggest a new feature
title: 'Feature Request Summary'
labels: ''
assignees: ''

title: "Feature Request Summary"
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.
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when ... -->

**Describe the solution you would like**

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
<!-- A clear and concise description of what you want to happen. -->

**Additional context**
Add any other context or screenshots about the feature request here.

<!-- Add any other context or screenshots about the feature request here. -->
11 changes: 5 additions & 6 deletions .github/ISSUE_TEMPLATE/general_question.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
name: General question
about: Ask a question about anything related to this project
title: 'Question'
labels: ''
assignees: ''

title: "Question"
labels: "question"
assignees: ""
---

**Question**

Please ask your question here. It can be about the usage of this project, the internals, the implementation or whatever interests you.
Please use the BUG template for bugs and the FEATURE REQUEST template for feature requests.
<!-- Please ask your question here. It can be about the usage of this project, the internals, the implementation or whatever interests you.
Please use the BUG template for bugs and the FEATURE REQUEST template for feature requests. -->
45 changes: 45 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 5
target-branch: development
labels:
- DEPENDABOT
commit-message:
prefix: "[DEPENDABOT]"

- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
interval: daily
open-pull-requests-limit: 5
target-branch: development
labels:
- DEPENDABOT
commit-message:
prefix: "[DEPENDABOT]"

- package-ecosystem: pip
directory: "/docs"
schedule:
interval: daily
open-pull-requests-limit: 5
target-branch: development
labels:
- DEPENDABOT
commit-message:
prefix: "[DEPENDABOT]"

- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 5
target-branch: development
labels:
- DEPENDABOT
commit-message:
prefix: "[DEPENDABOT]"
66 changes: 66 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
# Labels names are important as they are used by Release Drafter to decide
# regarding where to record them in changelog or if to skip them.
#
# The repository labels will be automatically configured using this file and
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
- name: breaking
description: Breaking Changes
color: bfd4f2
- name: bug
description: Something isn't working
color: d73a4a
- name: build
description: Build System and Dependencies
color: bfdadc
- name: ci
description: Continuous Integration
color: 4a97d6
- name: dependencies
description: Pull requests that update a dependency file
color: 0366d6
- name: documentation
description: Improvements or additions to documentation
color: 0075ca
- name: duplicate
description: This issue or pull request already exists
color: cfd3d7
- name: enhancement
description: New feature or request
color: a2eeef
- name: github_actions
description: Pull requests that update Github_actions code
color: "000000"
- name: good first issue
description: Good for newcomers
color: 7057ff
- name: help wanted
description: Extra attention is needed
color: 008672
- name: invalid
description: This doesn't seem right
color: e4e669
- name: performance
description: Performance
color: "016175"
- name: python
description: Pull requests that update Python code
color: 2b67c6
- name: question
description: Further information is requested
color: d876e3
- name: refactoring
description: Refactoring
color: ef67c4
- name: removal
description: Removals and Deprecations
color: 9ae7ea
- name: style
description: Style
color: c120e5
- name: testing
description: Testing
color: b1fc6f
- name: wontfix
description: This will not be worked on
color: ffffff
24 changes: 14 additions & 10 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
Many thanks for contributing to this project!
<!-- Many thanks for contributing to this project! -->

**PR Checklist**
Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).

- [ ] This comment contains a description of changes (with reason)
- [ ] Referenced issue is linked
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] Documentation in `docs` is updated
- [ ] `CHANGELOG.rst` is updated
<!-- Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs). -->

- [ ] This comment contains a description of changes (with reason)
- [ ] Referenced issue is linked
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] Documentation in `docs` is updated
- [ ] `CHANGELOG.rst` is updated

**Description of changes**
Please state what you've changed and how it might affect the user.

<!-- Please state what you've changed and how it might affect the user. -->

**Technical details**
Please state any technical details such as limitations, reasons for additional dependencies, benchmarks etc. here.

<!-- Please state any technical details such as limitations, reasons for additional dependencies, benchmarks etc. here. -->

**Additional context**
Add any other context or screenshots here.

<!-- Add any other context or screenshots here. -->
51 changes: 51 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name-template: "2.0.1 🌈" # <<COOKIETEMPLE_FORCE_BUMP>>
tag-template: 2.0.1 # <<COOKIETEMPLE_FORCE_BUMP>>
categories:
- title: "🚀 Features"
labels:
- feature
- enhancement
- title: "🐛 Bug Fixes"
labels:
- fix
- bugfix
- bug
- title: "🧰 Maintenance"
label: chore
- title: ":package: Dependencies"
labels:
- dependencies
- build
- dependabot
- DEPENDABOT
version-resolver:
major:
labels:
- major
minor:
labels:
- minor
patch:
labels:
- patch
default: patch
autolabeler:
- label: chore
files:
- "*.md"
branch:
- '/docs{0,1}\/.+/'
- label: bug
branch:
- /fix\/.+/
title:
- /fix/i
- label: enhancement
branch:
- /feature\/.+/
body:
- "/JIRA-[0-9]{1,4}/"
template: |
## Changes

$CHANGES
31 changes: 0 additions & 31 deletions .github/workflows/build_docs.yml

This file was deleted.

Loading