Skip to content
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
3 changes: 3 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[bumpversion]
current_version = 0.1.0

19 changes: 0 additions & 19 deletions .codecov.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .cookiecutterrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This file exists so you can easily regenerate your project.
#
# `cookiepatcher` is a convenient shim around `cookiecutter`
# for regenerating projects (it will generate a .cookiecutterrc
# automatically for any template). To use it:
#
# pip install cookiepatcher
# cookiepatcher gh:ionelmc/cookiecutter-pylibrary ml-ops-quickstart
#
# See:
# https://pypi.org/project/cookiepatcher
#
# Alternatively, you can run:
#
# cookiecutter --overwrite-if-exists --config-file=ml-ops-quickstart/.cookiecutterrc gh:ionelmc/cookiecutter-pylibrary

default_context:
codecov: "yes"
command_line_interface: "click"
command_line_interface_bin_name: "mloq"
distribution_name: "mloq"
docstring_code_line_length: "99"
email: "guillem@fragile.tech"
formatter_quote_style: "double"
full_name: "Guillem Duran Ballester"
function_name: "compute"
github_actions: "yes"
github_actions_osx: "yes"
github_actions_windows: "yes"
license: "MIT license"
line_length: "99"
lock_file_support: false
module_name: "core"
package_name: "mloq"
pre_commit: "yes"
project_name: "ML Ops Quickstart"
project_short_description: "Automate project creation following ML best practices."
project_slug: "ml-ops-quickstart"
pypi_badge: "yes"
pypi_disable_upload: "no"
release_date: "today"
repo_hosting: "github.com"
repo_hosting_domain: "github.com"
repo_main_branch: "main"
repo_name: "ml-ops-quickstart"
repo_url: "https://github.com/FragileTech/ml-ops-quickstart"
repo_username: "FragileTech"
sphinx_docs: "yes"
sphinx_docs_hosting: "https://ml-ops-quickstart.readthedocs.io/"
target_python_version: "3.10"
version: "0.1.0"
website: "fragile.tech"
year_from: "2024"
year_to: "2024"
16 changes: 16 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[paths]
source =
src
*/site-packages

[run]
branch = true
source =
mloq
tests
parallel = true

[report]
show_missing = true
precision = 2
omit = *migrations*
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# see https://editorconfig.org/
root = true

[*]
# Use Unix-style newlines for most files (except Windows files, see below).
end_of_line = lf
trim_trailing_whitespace = true
indent_style = space
insert_final_newline = true
indent_size = 4
charset = utf-8

[*.{bat,cmd,ps1}]
end_of_line = crlf

[*.{yml,yaml}]
indent_size = 2

[*.tsv]
indent_style = tab
109 changes: 21 additions & 88 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,88 +1,21 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
time: "04:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: sphinx-autoapi
versions:
- 1.8.0
- dependency-name: myst-parser
versions:
- 0.13.4
- 0.13.6
- dependency-name: pre-commit
versions:
- 2.11.0
- 2.11.1
- 2.12.0
- 2.12.1
- dependency-name: sphinx
versions:
- 3.5.0
- 3.5.2
- 3.5.3
- 3.5.4
- dependency-name: hypothesis
versions:
- 6.1.1
- 6.2.0
- 6.3.0
- 6.3.4
- 6.6.0
- 6.8.1
- 6.8.3
- 6.8.4
- 6.9.0
- dependency-name: pylint
versions:
- 2.7.0
- 2.7.2
- 2.7.4
- dependency-name: flake8-bugbear
versions:
- 20.11.1
- 21.3.1
- 21.3.2
- 21.4.3
- dependency-name: isort
versions:
- 5.7.0
- 5.8.0
- dependency-name: flake8-docstrings
versions:
- 1.6.0
- dependency-name: flake8
versions:
- 3.9.0
- dependency-name: pycodestyle
versions:
- 2.7.0
- dependency-name: flogging
versions:
- 0.0.12
- 0.0.13
- dependency-name: pytest-xdist
versions:
- 2.2.1
- dependency-name: pytest
versions:
- 6.2.2
- dependency-name: jinja2
versions:
- 2.11.3
- dependency-name: ruyaml
versions:
- 0.20.0
- dependency-name: black
versions:
- 20.8b1
- dependency-name: pytest-cov
versions:
- 2.11.1
- dependency-name: flakehell
versions:
- 0.9.0
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
interval: weekly
- package-ecosystem: pip
directory: "/docs"
schedule:
interval: weekly
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
versioning-strategy: lockfile-only
allow:
- dependency-type: "all"
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
42 changes: 42 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name-template: '$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'

categories:
- title: '🚀 Features'
labels:
- 'feat'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bug'
- title: 'Other updates'
labels:
- 'refactor'
- 'chore'
- 'docs'
- 'perf'
- 'test'
- 'documentation'

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.

version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch

template: |
## Changes

$CHANGES

Special thanks to: $CONTRIBUTORS
Loading