Skip to content

Commit fb563dd

Browse files
author
guillemdb
committed
Clean pyproject.toml and bump version
Signed-off-by: guillemdb <[email protected]>
1 parent fd14a2e commit fb563dd

File tree

13 files changed

+1444
-23
lines changed

13 files changed

+1444
-23
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
env:
1212
PROJECT_NAME: mloq
1313
PROJECT_DIR: src/mloq
14-
VERSION_FILE: src/mloq/version.py
14+
VERSION_FILE: "src/mloq/version.py .bumpversion.cfg docs/_config.yml"
1515
DEFAULT_BRANCH: main
1616
BOT_NAME: fragile-bot
1717
BOT_EMAIL: [email protected]

docs/conf.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
###############################################################################
2+
# Auto-generated by `jupyter-book config`
3+
# If you wish to continue using _config.yml, make edits to that file and
4+
# re-generate this one.
5+
###############################################################################
6+
author = 'Guillem Duran Ballester'
7+
autoapi_add_toctree_entry = True
8+
autoapi_dirs = ['../src']
9+
autodoc_typehints = 'description'
10+
comments_config = {'hypothesis': False, 'utterances': False}
11+
copyright = '2024'
12+
exclude_patterns = ['**.ipynb_checkpoints', '.DS_Store', 'Thumbs.db', '_build']
13+
extensions = ['sphinx_togglebutton', 'sphinx_copybutton', 'myst_nb', 'jupyter_book', 'sphinx_thebe', 'sphinx_comments', 'sphinx_external_toc', 'sphinx.ext.intersphinx', 'sphinx_design', 'sphinx_book_theme', 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon', 'sphinx.ext.autosectionlabel', 'sphinx.ext.autodoc.typehints', 'sphinx.ext.githubpages', 'sphinxcontrib.mermaid', 'autoapi.extension', 'sphinx_jupyterbook_latex', 'sphinx_multitoc_numbering']
14+
external_toc_exclude_missing = False
15+
external_toc_path = '_toc.yml'
16+
html_baseurl = ''
17+
html_favicon = 'favicon.png'
18+
html_logo = 'logo.png'
19+
html_sourcelink_suffix = ''
20+
html_theme = 'sphinx_book_theme'
21+
html_theme_options = {'search_bar_text': 'Search this book...', 'launch_buttons': {'notebook_interface': 'classic', 'binderhub_url': '', 'jupyterhub_url': '', 'thebe': False, 'colab_url': ''}, 'path_to_docs': '', 'repository_url': 'https://github.com/FragileTech/ml-ops-quickstart', 'repository_branch': 'main', 'extra_footer': '', 'home_page_in_toc': True, 'announcement': '', 'analytics': {'google_analytics_id': ''}, 'use_repository_button': False, 'use_edit_page_button': False, 'use_issues_button': False}
22+
html_title = 'ML Ops Quickstart'
23+
imgmath_latex = '/usr/bin/latex'
24+
latex_engine = 'pdflatex'
25+
myst_enable_extensions = ['amsmath', 'colon_fence', 'deflist', 'dollarmath', 'html_admonition', 'html_image', 'linkify', 'replacements', 'smartquotes', 'substitution', 'tasklist']
26+
myst_url_schemes = ['mailto', 'http', 'https']
27+
napoleon_google_docstring = True
28+
napoleon_numpy_docstring = False
29+
nb_execution_allow_errors = False
30+
nb_execution_cache_path = ''
31+
nb_execution_excludepatterns = []
32+
nb_execution_in_temp = False
33+
nb_execution_mode = 'auto'
34+
nb_execution_timeout = 30
35+
nb_output_stderr = 'show'
36+
numfig = True
37+
pygments_style = 'sphinx'
38+
release = '0.1.0'
39+
suppress_warnings = ['myst.domains']
40+
use_jupyterbook_latex = True
41+
use_multitoc_numbering = True
42+
version = '0.1.0'

docs/requirements.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
accessible-pygments==0.0.5
22
alabaster==0.7.16
3+
arrow==1.3.0
34
astroid==3.3.4
45
asttokens==2.4.1
56
attrs==24.2.0
67
autoapi==2.0.1
78
babel==2.16.0
89
beautifulsoup4==4.12.3
10+
binaryornot==0.4.4
911
certifi==2024.8.30
1012
cfgv==3.4.0
13+
chardet==5.2.0
1114
charset-normalizer==3.3.2
1215
click==8.1.7
1316
comm==0.2.2
17+
cookiecutter==2.6.0
1418
debugpy==1.8.6
1519
decorator==5.1.1
1620
distlib==0.3.8
@@ -30,6 +34,7 @@ ipykernel==6.29.5
3034
ipython==8.27.0
3135
jedi==0.19.1
3236
jinja2==3.1.4
37+
jinja2-time==0.2.0
3338
jsonschema==4.23.0
3439
jsonschema-specifications==2023.12.1
3540
jupyter-book==1.0.2
@@ -64,10 +69,12 @@ pybtex-docutils==1.0.3
6469
pydata-sphinx-theme==0.15.4
6570
pygments==2.18.0
6671
python-dateutil==2.9.0.post0
72+
python-slugify==8.0.4
6773
pyyaml==6.0.2
6874
pyzmq==26.2.0
6975
referencing==0.35.1
7076
requests==2.32.3
77+
rich==13.9.2
7178
rpds-py==0.20.0
7279
ruyaml==0.91.0
7380
setuptools==75.1.0
@@ -100,9 +107,11 @@ sphinxext-opengraph==0.9.1
100107
sqlalchemy==2.0.35
101108
stack-data==0.6.3
102109
tabulate==0.9.0
110+
text-unidecode==1.3
103111
tomli==2.0.2
104112
tornado==6.4.1
105113
traitlets==5.14.3
114+
types-python-dateutil==2.9.0.20241003
106115
typing-extensions==4.12.2
107116
uc-micro-py==1.0.3
108117
urllib3==2.2.3

docs/source/project/AUTHORS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Authors
2+
3+
* Guillem Duran Ballester - fragile.tech

docs/source/project/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
4+
0.1.0 (2024-10-06)
5+
------------------
6+
7+
* First release on PyPI.

docs/source/project/CONTRIBUTING.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Contributing
2+
3+
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
4+
5+
```{contents}
6+
```
7+
8+
## Bug reports
9+
10+
When [reporting a bug](https://github.com/FragileTech/ml-ops-quickstart/issues) please include:
11+
12+
- Your operating system name and version.
13+
- Any details about your local setup that might be helpful in troubleshooting.
14+
- Detailed steps to reproduce the bug.
15+
16+
## Documentation improvements
17+
18+
ML Ops Quickstart could always use more documentation, whether as part of the official ML Ops Quickstart docs, in docstrings, or even on the web in blog posts, articles, and such.
19+
20+
## Feature requests and feedback
21+
22+
The best way to send feedback is to file an issue at [https://github.com/FragileTech/ml-ops-quickstart/issues](https://github.com/FragileTech/ml-ops-quickstart/issues).
23+
24+
If you are proposing a feature:
25+
26+
- Explain in detail how it would work.
27+
- Keep the scope as narrow as possible, to make it easier to implement.
28+
- Remember that this is a volunteer-driven project, and that code contributions are welcome :)
29+
30+
## Development
31+
32+
To set up `ml-ops-quickstart` for local development:
33+
34+
1. Fork [ml-ops-quickstart](https://github.com/FragileTech/ml-ops-quickstart) (look for the "Fork" button).
35+
2. Clone your fork locally:
36+
37+
```bash
38+
git clone [email protected]:YOURGITHUBNAME/ml-ops-quickstart.git
39+
```
40+
41+
3. Create a branch for local development:
42+
43+
```bash
44+
git checkout -b name-of-your-bugfix-or-feature
45+
```
46+
47+
Now you can make your changes locally.
48+
49+
4. When you're done making changes run all the checks and docs builder with one command:
50+
51+
```bash
52+
rye run all
53+
```
54+
55+
5. Commit your changes and push your branch to GitHub:
56+
57+
```bash
58+
git add .
59+
git commit -m "Your detailed description of your changes."
60+
git push origin name-of-your-bugfix-or-feature
61+
```
62+
63+
6. Submit a pull request through the GitHub website.
64+
65+
## Pull Request Guidelines
66+
67+
If you need some code review or feedback while you're developing the code just make the pull request.
68+
69+
For merging, you should:
70+
71+
1. Include passing tests (run `hatch test`).
72+
2. Update documentation when there's new API, functionality etc.
73+
3. Add a note to `CHANGELOG.md` about the changes.
74+
4. Add yourself to `AUTHORS.md`.
75+

0 commit comments

Comments
 (0)