8000 chore: generate lock · ksquarekumar/jupyter-docker@4f088ee · GitHub
[go: up one dir, main page]

Skip to content

Commit 4f088ee

Browse files
committed
chore: generate lock
1 parent 306284a commit 4f088ee

File tree

11 files changed

+5323
-1230
lines changed

11 files changed

+5323
-1230
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
**/*
44

55
## Add only what we need
6+
!supervisor
67
!environment_core.yml
78
!environment_jupyter.yml
89
!requirements.txt

.gitignore

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
**/dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
pip-wheel-metadata/
25+
share/python-wheels/
26+
*.egg-info/
27+
.installed.cfg
28+
*.egg
29+
MANIFEST
30+
31+
# PyInstaller
32+
# Usually these files are written by a python script from a template
33+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
34+
*.manifest
35+
*.spec
36+
37+
# Installer logs
38+
pip-log.txt
39+
pip-delete-this-directory.txt
40+
41+
# Unit test / coverage reports
42+
htmlcov/
43+
.tox/
44+
.nox/
45+
.coverage
46+
.coverage.*
47+
.cache
48+
nosetests.xml
49+
coverage.xml
50+
*.cover
51+
*.py,cover
52+
.hypothesis/
53+
.pytest_cache/
54+
55+
# Translations
56+
*.mo
57+
*.pot
58+
59+
# Django stuff:
60+
*.log
61+
local_settings.py
62+
db.sqlite3
63+
db.sqlite3-journal
64+
65+
# Flask stuff:
66+
instance/
67+
.webassets-cache
68+
69+
# Scrapy stuff:
70+
.scrapy
71+
72+
# Sphinx documentation
73+
docs/_build/
74+
75+
# PyBuilder
76+
target/
77+
78+
# Jupyter Notebook
79+
.ipynb_checkpoints
80+
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
# pyenv
86+
.python-version
87+
88+
# pipenv
89+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
90+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
91+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
92+
# install all needed dependencies.
93+
#Pipfile.lock
94+
95+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
96+
__pypackages__/
97+
98+
# Celery stuff
99+
celerybeat-schedule
100+
celerybeat.pid
101+
102+
# SageMath parsed files
103+
*.sage.py
104+
105+
# Environments
106+
.env
107+
.venv
108+
env/
109+
venv/
110+
ENV/
111+
env.bak/
112+
venv.bak/
113+
114+
# Spyder project settings
115+
.spyderproject
116+
.spyproject
117+
118+
# Rope project settings
119+
.ropeproject
120+
F438
121+
# mkdocs documentation
122+
/site
123+
124+
# mypy
125+
.mypy_cache/
126+
.dmypy.json
127+
dmypy.json
128+
129+
# Pyre type checker
130+
.pyre/
131+
132+
# dbt
133+
**/dbt/target/
134+
**/dbt/logs/
135+
**/dbt/dbt_packages/
136+
**/dbt/logs/
137+
**/dbt/.user.yml
138+
139+
140+
# vscode
141+
.vscode/
142+
143+
# Ruff
144+
.ruff_cache/
145+
146+
# Solutions
147+
.solutions/
148+
whisper_stream/.DS_Store
149+
150+
# JAX
151+
jax_cache
152+
.jax_cache
153+
**/jax_cache
154+
**/.jax_cache
155+
notebooks/viztracer_report.json
156+
157+
# duplication
158+
**/.env
159+
/log_config.yaml

.pre-commit-config.yaml

Lines changed: 34 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
exclude_types:
3838
- "jupyter"
3939
repo: https://github.com/charliermarsh/ruff-pre-commit
40-
rev: v0.0.289
40+
rev: v0.0.290
4141
- hooks:
4242
- id: black
4343
types:
@@ -89,42 +89,39 @@ repos:
8989
stages:
9090
- commit-msg
9191
repo: https://github.com/commitizen-tools/commitizen
92-
rev: 3.8.2
93-
# - hooks:
94-
# - id: generate-lock
95-
# name: Generate `poetry` lock for `root` `pyproject`
96-
# language: system
97-
# stages: [manual, pre-commit]
98-
# pass_filenames: false
99-
# entry: poetry lock
100-
# args: ["-C", "."]
101-
# files: ^(.*/)?pyproject\.toml$
102-
# - id: check-sync-root
103-
# name: Check `root` `pyproject` and `poetry.lock` are in-sync and valid
104-
# language: system
105-
# pass_filenames: false
106-
# entry: poetry check
107-
# args: ["--lock", "-C", "."]
108-
# files: ^(.*/)?(poetry\.lock|pyproject\.toml)$
109-
# - id: export
110-
# name: run poetry export on `main` deps for `root` project to sync lock file with requirements.txt
111-
# language: system
112-
# pass_filenames: false
113-
# entry: poetry export
114-
# args:
115-
# [
116-
# "--only",
117-
# "main",
118-
# "-C",
119-
# ".",
120-
# "-f",
121-
# "requirements.txt",
122-
# "-o",
123-
# "./requirements.txt",
124-
# "--without-hashes",
125-
# ]
126-
# files: ^(.*/)?poetry\.lock$
127-
# repo: local
92+
rev: 3.9.0
93+
- hooks:
94+
- id: poetry-lock
95+
name: Generate `poetry` lock for `root` `pyproject`
96+
stages: [manual]
97+
pass_filenames: false
98+
args: ["-C", "."]
99+
files: ^(.*/)?pyproject\.toml$
100+
- id: poetry-check
101+
name: Check `root` `pyproject` and `poetry.lock` are in-sync and valid
102+
pass_filenames: false
103+
args: ["--lock", "-C", "."]
104+
files: ^(.*/)?(poetry\.lock|pyproject\.toml)$
105+
- id: poetry-export
106+
name: run poetry export on `main` deps for `root` project to sync lock file with requirements.txt
107+
pass_filenames: false
108+
args:
109+
[
110+
"--with",
111+
"dev",
112+
"--with",
113+
"test",
114+
"-C",
115+
".",
116+
"-f",
117+
"requirements.txt",
118+
"-o",
119+
"./requirements.txt",
120+
"--without-hashes",
121+
]
122+
files: ^(.*/)?poetry\.lock$
123+
repo: https://github.com/python-poetry/poetry.git
124+
rev: 1.6.0
128125
- hooks:
129126
- id: licenseheaders
130127
name: Update License headers

0 commit comments

Comments
 (0)
0