-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmloq.yaml
147 lines (138 loc) · 4.06 KB
/
mloq.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
globals:
project_name: mloq
default_branch: master
owner: FragileTech
author: FragileTech
email: guillem@fragile.tech
description: Package for initializing ML projects following ML Ops best practices.
open_source: true
project_url: https://github.com/FragileTech/ml-ops-quickstart
license: "MIT"
use_poetry: false
main_python_version: "3.8"
license:
disable: false
license: MIT
copyright_year: 2020
copyright_holder: ${globals.owner}
project_name: ${globals.project_name}
email: ${globals.email}
project_url: ${globals.project_url}
project:
disable: false
license: ${license.license} # FIXME: depends on docker command
project_name: ${globals.project_name}
owner: ${globals.owner}
description: ${globals.description}
project_url: ${globals.project_url}
tests: true
docs:
disable: false
project_name: ${globals.project_name}
description: ${globals.description}
author: ${globals.author}
copyright_holder: ${license.copyright_holder}
copyright_year: ${license.copyright_year}
default_branch: ${globals.default_branch}
project_url: ${globals.project_url}
deploy_docs: true
git:
disable: true
git_init: false
git_push: false
git_message: Generate project files with mloq
default_branch: ${globals.default_branch}
project_url: ${globals.project_url}
package:
disable: False
project_name: ${globals.project_name}
description: ${globals.description}
default_branch: ${globals.default_branch}
project_url: ${globals.project_url}
owner: ${globals.owner}
author: ${globals.author}
email: ${globals.email}
license: ${globals.license}
use_poetry: ${globals.use_poetry}
main_python_version: ${globals.main_python_version}
python_versions:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
pyproject_extra: ""
license_classifier: "License :: OSI Approved :: MIT License"
requirements:
disable: false
requirements:
- dogfood
lint:
disable: false
black: True
isort: True
linters: True
poetry_requirements: True
docstring_checks: true
pyproject_extra: |-
[tool.flakehell.exceptions."**/assets/*"]
pycodestyle = ["-*"]
pyflakes = ["-*"]
"flake8*" = ["-*"]
project_name: ${globals.project_name}
makefile: true
docker:
disable: false
cuda: "???"
cuda_image_type: "cudnn8-runtime"
cuda_version: "11.2"
python_version: "3.8"
ubuntu_version: "20.04"
base_image: "???"
test: true
lint: true
jupyter: true
jupyter_password: ${globals.project_name}
project_name: ${globals.project_name}
docker_org: fragiletech #${globals.owner}
requirements: ${requirements.requirements}
makefile: true
extra: ""
ci:
bot_name: fragile-bot
bot_email: bot@fragile.tech
disable: false
vendor: github
ci_python_version: '3.8'
ubuntu_version: ubuntu-20.04
open_source: ${globals.open_source}
project_name: ${globals.project_name}
default_branch: ${globals.default_branch}
owner: ${globals.owner}
author: ${globals.author}
email: ${globals.email}
project_url: ${globals.project_url}
docker_org: fragiletech
docker: true
python_versions: ${package.python_versions}
ci_extra: |-
git config --global user.name "Bot"
git config --global user.email "bot@fragile.tech"
git config --global init.defaultBranch master
mkdir generated
mloq setup generated -f mloq.yaml
diff .github/workflows/push.yml generated/.github/workflows/push.yml
diff requirements.txt generated/requirements.txt
diff requirements-lint.txt generated/requirements-lint.txt
diff requirements-test.txt generated/requirements-test.txt
#diff pyproject.toml generated/pyproject.toml
diff DCO.md generated/DCO.md
diff CODE_OF_CONDUCT.md generated/CODE_OF_CONDUCT.md
diff CONTRIBUTING.md generated/CONTRIBUTING.md
diff LICENSE generated/LICENSE
diff .pre-commit-config.yaml generated/.pre-commit-config.yaml
diff .codecov.yml generated/.codecov.yml
diff .gitignore generated/.gitignore
diff WHAT_MLOQ_GENERATED.md generated/WHAT_MLOQ_GENERATED.md
diff Dockerfile generated/Dockerfile
diff Makefile generated/Makefile
rm generated/tests/test_main.py