Skip to content

Commit 77d3f7b

Browse files
authored
Add a series of new pre-commit hooks and GitHub Actions (#116)
* Add a series of new pre-commit hooks and GitHub Actions * Style
1 parent 5afb7d2 commit 77d3f7b

36 files changed

+3163
-1257
lines changed

.bandit.yaml

Lines changed: 19 additions & 395 deletions
Large diffs are not rendered by default.

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
ignore = E203,E266,E501,F811,W503
33
max-line-length = 80
44
max-complexity = 18
5+
per-file-ignores = tests/*:DAR,S101
56
select = B,B9,LK,C,D,E,F,I,S,W

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
54
---
65

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

109
**To Reproduce**
1110
Steps to reproduce the behavior:
11+
1212
1. Go to '...'
1313
2. Click on '....'
1414
3. Scroll down to '....'

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
54
---
65

76
**Is your feature request related to a problem? Please describe.**

.github/dependabot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: pip
5+
directory: "/"
6+
schedule:
7+
interval: daily
8+
time: "06:00"
9+
10+
- package-ecosystem: pip
11+
directory: "/.github/workflows"
12+
schedule:
13+
interval: daily
14+
time: "06:00"
15+
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: daily
20+
time: "06:00"

.github/labeler.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/labels.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
- name: "breaking-change"
3+
color: ee0701
4+
description: "A breaking change for existing users"
5+
- name: "bug"
6+
color: ee0701
7+
description: "Bugs or issues which will cause a problem for users"
8+
- name: "documentation"
9+
color: 0052cc
10+
description: "Project documentation"
11+
- name: "enhancement"
12+
color: 1d76db
13+
description: "Enhancement of the code, not introducing new features."
14+
- name: "maintenance"
15+
color: 2af79e
16+
description: "Generic library tasks"
17+
- name: "dependencies"
18+
color: 1d76db
19+
description: "Upgrade or downgrade of project dependencies"
20+
21+
- name: "in-progress"
22+
color: fbca04
23+
description: "Issue is currently being resolved by a developer"
24+
- name: "stale"
25+
color: fef2c0
26+
description: "There has not been activity on this issue or PR for some time"
27+
- name: "no-stale"
28+
color: fef2c0
29+
description: "This issue or PR is exempted from the stale bot"
30+
31+
- name: "security"
32+
color: ee0701
33+
description: "Marks a security issue that needs to be resolved ASAP"
34+
- name: "incomplete"
35+
color: fef2c0
36+
description: "Marks a PR or issue that is missing information"
37+
- name: "invalid"
38+
color: fef2c0
39+
description: "Marks a PR or issue that is missing information"
40+
41+
- name: "help-wanted"
42+
color: 0e8a16
43+
description: "Needs a helping hang or expertise in order to resolve"

.github/release-drafter.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,26 @@
22
categories:
33
- title: "🚨 Breaking Changes"
44
labels:
5-
- "breaking change"
5+
- "breaking-change"
6+
67
- title: "🚀 Features"
78
labels:
89
- "enhancement"
10+
911
- title: "🐛 Bug Fixes"
1012
labels:
1113
- "bug"
14+
15+
- title: "📕 Documentation"
16+
labels:
17+
- "documentation"
18+
1219
- title: "🧰 Maintenance"
1320
labels:
1421
- "dependencies"
15-
- "documentation"
1622
- "maintenance"
1723
- "tooling"
24+
1825
change-template: "- $TITLE (#$NUMBER)"
1926
name-template: "$NEXT_PATCH_VERSION"
2027
tag-template: "$NEXT_PATCH_VERSION"

.github/stale.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)