Skip to content

Commit 255b845

Browse files
kostrykingithub-actions[bot]
authored andcommitted
Apply automatic changes
0 parents  commit 255b845

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2094
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM mcr.microsoft.com/devcontainers/python:1-3.12-bullseye
2+
3+
RUN pip3 --disable-pip-version-check --no-cache-dir install \
4+
"matplotlib==3.8.3" \
5+
"numpy==1.26.4" \
6+
"scipy==1.12.0" \
7+
"scikit-image==0.22.0" \
8+
"scikit-learn==1.5.2" \
9+
"tifffile==2024.2.12" \
10+
"pillow==10.2.0" \
11+
"ipykernel==6.29.2"

.devcontainer/devcontainer.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python Learning Codespace",
5+
"hostRequirements": {
6+
"cpus": 2
7+
},
8+
9+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
10+
"build": {
11+
"dockerfile": "Dockerfile"
12+
},
13+
14+
// Features to add to the dev container. More info: https://containers.dev/features.
15+
// "features": {},
16+
17+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
18+
// "forwardPorts": [],
19+
20+
// Configure tool-specific properties.
21+
"customizations": {
22+
"vscode": {
23+
"extensions": [
24+
"ms-toolsai.jupyter"
25+
],
26+
"settings": {
27+
"python.linting.enabled": false,
28+
"python.languageServer": "None",
29+
30+
"notebook.kernelPicker.type": "all",
31+
"jupyter.kernels.filter": [
32+
// This is a list of kernels to be filtered out, not included:
33+
{
34+
"path": "/usr/bin/python3",
35+
"type": "pythonEnvironment"
36+
}
37+
],
38+
39+
"files.exclude": {
40+
"**/.*": true,
41+
"**/*.md": true,
42+
"**/LICENSE": true,
43+
"**/requirements.txt": true
44+
},
45+
46+
"chat.disableAIFeatures": true
47+
}
48+
},
49+
"codespaces": {
50+
"openFiles": []
51+
}
52+
}
53+
54+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
55+
// "remoteUser": "root"
56+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Help wanted
2+
description: Things aren't working and I'm stuck!
3+
title: Things aren't working and I'm stuck!
4+
labels: ['help wanted']
5+
body:
6+
- type: input
7+
id: repository
8+
attributes:
9+
label: Repository
10+
description: Paste a link to your GitHub repository.
11+
placeholder: mobi-fs3-python
12+
validations:
13+
required: true
14+
- type: checkboxes
15+
id: confirmation_of_accessibility
16+
attributes:
17+
label: Access rights
18+
description: Please confirm that your GitHub repository is public, or you have [granted access](https://docs.github.com/de/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository) to the [course supervisors](https://github.com/BMCV/mobi-fs3-python/blob/master/SUPERVISORS.md).
19+
options:
20+
- label: I hereby confirm that the supervisors can access my GitHub repository.
21+
required: true
22+
- type: checkboxes
23+
id: confirmation_of_having_pushed
24+
attributes:
25+
label: Git commit and push
26+
description: Please confirm that you have pushed the work which is relevant to this issue to your GitHub repository.
27+
options:
28+
- label: I hereby confirm that I have committed and pushed to my GitHub repository.
29+
required: true
30+
- type: input
31+
id: task
32+
attributes:
33+
label: Task
34+
description: The task number(s) at which you need help.
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: info
39+
attributes:
40+
label: Describe the problem (if possible)
41+
description: Give some context about the problem.
42+
validations:
43+
required: false
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Organization
3+
about: Discussions regarding the course organization
4+
title: ''
5+
labels: organization
6+
assignees: ''
7+
8+
---
9+
10+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Review request
2+
description: Things seem to work but I want comments on my solution!
3+
title: Things seem to work but I want comments on my solution!
4+
labels: ['review request']
5+
body:
6+
- type: input
7+
id: repository
8+
attributes:
9+
label: Repository
10+
description: Paste a link to your GitHub repository.
11+
validations:
12+
required: true
13+
- type: checkboxes
14+
id: confirmation_of_accessibility
15+
attributes:
16+
label: Access rights
17+
description: Please confirm that your GitHub repository is public, or you have [granted access](https://docs.github.com/de/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository) to the [course supervisors](https://github.com/BMCV/mobi-fs3-python/blob/master/SUPERVISORS.md).
18+
options:
19+
- label: I hereby confirm that the supervisors can access my GitHub repository.
20+
required: true
21+
- type: checkboxes
22+
id: confirmation_of_having_pushed
23+
attributes:
24+
label: Git commit and push
25+
description: Please confirm that you have pushed the work which is relevant to this issue to your GitHub repository.
26+
options:
27+
- label: I hereby confirm that I have committed and pushed to my GitHub repository.
28+
required: true
29+
- type: input
30+
id: task
31+
attributes:
32+
label: Task
33+
description: The task number(s) for which you want comments.
34+
validations:
35+
required: true
36+
- type: textarea
37+
id: info
38+
attributes:
39+
label: Additional context for the comments
40+
description: Give some context, if applicable.
41+
validations:
42+
required: false
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Volunteer for presentation
2+
description: I'd like to present my solutions and discuss with the course!
3+
title: I'd like to present my solutions and discuss with the course!
4+
labels: ['volunteer for presentation']
5+
body:
6+
- type: input
7+
id: repository
8+
attributes:
9+
label: Repository
10+
description: Paste a link to your GitHub repository.
11+
validations:
12+
required: true
13+
- type: checkboxes
14+
id: confirmation_of_accessibility
15+
attributes:
16+
label: Access rights
17+
description: Please confirm that your GitHub repository is public, or you have [granted access](https://docs.github.com/de/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository) to the [course supervisors](https://github.com/BMCV/mobi-fs3-python/blob/master/SUPERVISORS.md).
18+
options:
19+
- label: I hereby confirm that the supervisors can access my GitHub repository.
20+
required: true
21+
- type: checkboxes
22+
id: confirmation_of_having_pushed
23+
attributes:
24+
label: Git commit and push
25+
description: Please confirm that you have pushed the work which is relevant to this issue to your GitHub repository.
26+
options:
27+
- label: I hereby confirm that I have committed and pushed to my GitHub repository.
28+
required: true
29+
- type: dropdown
30+
id: labsession
31+
attributes:
32+
label: Lab session
33+
description: The lab session for which you volunteer to present your solution.
34+
options:
35+
- Introduction (Cheat Sheet)
36+
- Lab Session 1
37+
- Lab Session 2
38+
- Lab Session 3
39+
- Lab Session 4
40+
- Bonus Tasks
41+
validations:
42+
required: true
43+
- type: textarea
44+
id: info
45+
attributes:
46+
label: Additional context for the comments
47+
description: Give some context, if applicable.
48+
validations:
49+
required: false

.github/workflows/label_issue.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Assign semester labels to new issues
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
14+
- uses: kostrykin/[email protected]
15+
with:
16+
floor: ws

.gitignore

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
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+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
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+
# For a library or package, you might want to ignore these files since the code is
87+
# intended to run in multiple environments; otherwise, check them in:
88+
# .python-version
89+
90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
96+
97+
# poetry
98+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99+
# This is especially recommended for binary packages to ensure reproducibility, and is more
100+
# commonly ignored for libraries.
101+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102+
#poetry.lock
103+
104+
# pdm
105+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106+
#pdm.lock
107+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108+
# in version control.
109+
# https://pdm.fming.dev/#use-with-ide
110+
.pdm.toml
111+
112+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113+
__pypackages__/
114+
115+
# Celery stuff
116+
celerybeat-schedule
117+
celerybeat.pid
118+
119+
# SageMath parsed files
120+
*.sage.py
121+
122+
# Environments
123+
.env
124+
.venv
125+
env/
126+
venv/
127+
ENV/
128+
env.bak/
129+
venv.bak/
130+
131+
# Spyder project settings
132+
.spyderproject
133+
.spyproject
134+
135+
# Rope project settings
136+
.ropeproject
137+
138+
# mkdocs documentation
139+
/site
140+
141+
# mypy
142+
.mypy_cache/
143+
.dmypy.json
144+
dmypy.json
145+
146+
# Pyre type checker
147+
.pyre/
148+
149+
# pytype static type analyzer
150+
.pytype/
151+
152+
# Cython debug symbols
153+
cython_debug/
154+
155+
# PyCharm
156+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158+
# and can be added to the global gitignore or merged into this file. For a more nuclear
159+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160+
#.idea/
161+
162+
.DS_Store
163+
*.swp

0 commit comments

Comments
 (0)