Skip to content

Commit 6228d0e

Browse files
authored
V0.6.0 (#7)
1 parent eefed81 commit 6228d0e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+315
-3141
lines changed

.github/ISSUE_TEMPLATE/add-request.md

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

.github/ISSUE_TEMPLATE/change-request.md

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

.github/ISSUE_TEMPLATE/custom-request.md

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature Request
3+
about: A new feature.
4+
title: "[FEAT] "
5+
labels: feat
6+
assignees: fmind
7+
body:
8+
- type: checkboxes
9+
id: breaking-change
10+
attributes:
11+
label: Breaking change?
12+
options:
13+
- label: Yes
14+
- label: No
15+
- label: Maybe
16+
---
17+
18+
## Description
19+
20+
## Motivation
21+
22+
## Solutions
Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
---
2-
name: Fix request
3-
about: Request a fix for this project
2+
name: Fix Request
3+
about: A bug fix
44
title: "[FIX] "
5-
labels: Fix
5+
labels: fix
66
assignees: fmind
7-
7+
body:
8+
- type: checkboxes
9+
id: breaking-change
10+
attributes:
11+
label: Breaking change?
12+
options:
13+
- label: Yes
14+
- label: No
15+
- label: Maybe
816
---
917

10-
**Describe the bug**
11-
A clear and concise description of what the bug is.
12-
13-
**To Reproduce**
14-
Steps to reproduce the behavior:
18+
## Bug Description
1519

16-
**Expected behavior**
17-
A clear and concise description of what you expected to happen.
20+
## Expected Behavior
1821

19-
**Screenshots**
20-
If applicable, add screenshots to help explain your problem.
22+
## Steps to Reproduce
2123

22-
**Additional context**
23-
Add any other context about the problem here.
24+
## Additional Context

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
# Changes
22

3-
-
3+
# Reasons
4+
5+
# Testing
6+
7+
# Impacts
8+
9+
# Notes

.github/workflows/on-pull-request.yml renamed to .github/workflows/check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: Check
12
on:
23
pull_request:
34
branches:
@@ -11,5 +12,5 @@ jobs:
1112
steps:
1213
- uses: actions/checkout@v4
1314
- uses: ./.github/actions/setup
14-
- run: poetry install --with dev,checks
15+
- run: poetry install --with checks
1516
- run: poetry run invoke checks

.github/workflows/on-release-published.yml renamed to .github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
name: Publish
12
on:
23
release:
34
types: [published]
45
env:
56
DOCKER_IMAGE: ghcr.io/fmind/mlops-python-package:latest
67
concurrency:
78
cancel-in-progress: true
8-
group: on-release-published
9+
group: publish-workflow
910
jobs:
1011
pages:
1112
runs-on: ubuntu-latest

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Build
44
/dist/
5+
/build/
56

67
# Cache
78
.cache/
@@ -16,7 +17,9 @@
1617
.ipynb_checkpoints/
1718

1819
# Environs
20+
.env
1921
/.venv/
22+
poetry.lock
2023

2124
# Project
2225
/docs/*

.pre-commit-config.yaml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# See https://pre-commit.com for more information
2-
# See https://pre-commit.com/hooks.html for more hooks
1+
# https://pre-commit.com
2+
# https://pre-commit.com/hooks.html
33

44
default_language_version:
55
python: python3.12
@@ -13,15 +13,27 @@ repos:
1313
- id: check-merge-conflict
1414
- id: check-toml
1515
- id: check-yaml
16+
- id: debug-statements
1617
- id: end-of-file-fixer
1718
- id: mixed-line-ending
1819
- id: trailing-whitespace
19-
# project
20-
- repo: local
20+
- repo: github.com/PyCQA/bandit
21+
rev: v1.7.7
2122
hooks:
22-
- id: invoke-check
23-
name: invoke checks
24-
language: system
25-
pass_filenames: false
26-
verbose: true
27-
entry: invoke checks
23+
- id: bandit
24+
args: ["--configfile=pyproject.toml"]
25+
- repo: https://github.com/pre-commit/mirrors-mypy
26+
rev: v1.8.0
27+
hooks:
28+
- id: mypy
29+
- repo: https://github.com/astral-sh/ruff-pre-commit
30+
rev: v0.3.0
31+
hooks:
32+
- id: ruff
33+
- id: ruff-format
34+
- repo: https://github.com/commitizen-tools/commitizen
35+
rev: v3.16.0
36+
hooks:
37+
- id: commitizen
38+
- id: commitizen-branch
39+
stages: [push]

0 commit comments

Comments
 (0)