Skip to content

Commit 3e601f7

Browse files
committed
updated documentation of my functions
2 parents d131266 + e5aafb0 commit 3e601f7

23 files changed

+631
-234
lines changed

.github/workflows/format.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Format
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'utils/**'
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- 'utils/**'
14+
15+
jobs:
16+
format:
17+
name: Run Ruff and isort
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v4
26+
with:
27+
python-version: '3.x'
28+
29+
- name: Install dependencies
30+
run: |
31+
pip install ruff isort
32+
33+
- name: Run Ruff formatter
34+
run: |
35+
ruff format utils/
36+
37+
- name: Run isort
38+
run: |
39+
isort utils/
40+
41+
- name: Commit and push changes
42+
run: |
43+
git config --global user.name "github-actions[bot]"
44+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
45+
git add utils/
46+
git commit -m "Auto-format: Applied ruff format and isort" || exit 0
47+
git push

.idea/Collaborative-Coding-Exam.iml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 81 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

environment.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ dependencies:
99
- sphinx-autobuild
1010
- sphinx-rtd-theme
1111
- pip
12+
- h5py
13+
- black
14+
- isort
15+
- jupyterlab
16+
- numpy
17+
- pandas
1218
- pytest
19+
- ruff
20+
- scalene
1321
prefix: /opt/miniconda3/envs/cc-exam
1422

0 commit comments

Comments
 (0)