Skip to content

Commit b836c39

Browse files
committed
1 parent de29f3a commit b836c39

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

.pre-commit-config.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,10 @@ repos:
5353
hooks:
5454
- id: requre-purge
5555
stages: [manual, push]
56+
# run this with `pre-commit run thoth-pre-commit-hook --verbose --hook-stage manual`
57+
- repo: https://github.com/thoth-station/thoth-pre-commit-hook
58+
rev: v0.1.3
59+
hooks:
60+
- id: thoth-pre-commit-hook
61+
# args: [--json, --no-wait]
62+
stages: [manual]

.thoth.yaml

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# This is Thoth's configuration file placed in a root of a repo
2+
# (named as .thoth.yaml) used by Thamos CLI as well as by Thoth bots. Please
3+
# adjust values listed below as desired.
4+
5+
# A remote Thoth service to talk to:
6+
host: khemenu.thoth-station.ninja
7+
8+
# Configure TLS verification for communication with remote Thoth instance:
9+
tls_verify: true
10+
11+
# Format of requirements file, supported are "pip" and "pipenv":
12+
requirements_format: pip
13+
# A path to overlays directory relative to this configuration file. If null provided, no overlays are used.
14+
# Read more about overlays in the README: https://github.com/thoth-station/thamos#overlays-directory
15+
overlays_dir: null
16+
# Allow or disable managing virtual environment for each overlay.
17+
virtualenv: false
18+
19+
runtime_environments:
20+
- name: 'fedora-37'
21+
# Operating system for which the recommendations should be created:
22+
operating_system:
23+
name: fedora
24+
version: '37'
25+
# Labels to be used during the resolution (key-value pairs).
26+
labels:
27+
# Hardware information for the recommendation engine:
28+
hardware:
29+
# Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
30+
cpu_family: 6
31+
cpu_model: 142
32+
gpu_model: null
33+
# Software configuration of runtime environment:
34+
python_version: '3.11'
35+
cuda_version: null
36+
# Recommendation type - one of:
37+
# * testing
38+
# * stable
39+
# * latest
40+
# * performance
41+
# * security
42+
# See https://thoth-station.ninja/recommendation-types/
43+
recommendation_type: security
44+
# Platform used for running the application - corresponds to sysconfig.get_platform() call (e.g. 'linux-x86_64')
45+
platform: linux-x86_64
46+
# Additional options:
47+
openblas_version: null
48+
openmpi_version: null
49+
cudnn_version: null
50+
mkl_version: null
51+
# Base container image used to run the application.
52+
base_image: null
53+
54+
#
55+
# Configuration of bots:
56+
#
57+
managers:
58+
- name: pipfile-requirements
59+
- name: info
60+
- name: version
61+
configuration:
62+
# A list of maintainers (GitHub or GitLab accounts) of this repository:
63+
maintainers: []
64+
# A list of assignees to which the opened pull requests and issues should
65+
# be assigned to:
66+
assignees: []
67+
# Labels for issues and pull requests:
68+
labels:
69+
- bot
70+
# Automatically maintain a changelog file stating features of new
71+
# releases:
72+
changelog_file: true
73+
# Use AI/ML to group messages in a smart way.
74+
changelog_smart: true
75+
- name: update
76+
configuration:
77+
labels: [bot]

0 commit comments

Comments
 (0)