Skip to content

Commit a5c1dfa

Browse files
authored
Merge pull request #2 from SUwonglab/v2
V2 Release
2 parents f28552c + 685e36d commit a5c1dfa

106 files changed

Lines changed: 15603 additions & 3091 deletions

File tree

Some content is hidden

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

‎.flake8‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
select = F401, F841

‎.github/workflows/flake8_check.yml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# .github/workflows/flake8_check.yml
2+
name: Lint Check
3+
4+
on:
5+
pull_request:
6+
types: [opened, synchronize, reopened, ready_for_review]
7+
push:
8+
branches: [main]
9+
jobs:
10+
flake8-lint:
11+
name: Run Flake8 Lint
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: "3.12" # or whichever version you use
22+
23+
- name: Install Flake8 and plugins
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install flake8 flake8-bugbear flake8-comprehensions flake8-builtins
27+
28+
- name: Run Flake8
29+
run: flake8 .
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
# .github/workflows/test-install.yml
2-
name: Test PyProject Install
1+
# .github/workflows/unit_tests.yml
2+
name: CPU Unit Tests
33

44
on:
55
pull_request:
6-
branches: [main]
6+
types: [opened, synchronize, reopened, ready_for_review]
77

88
jobs:
99
test-install:
10+
# Only run on non-draft PRs
11+
if: github.event.pull_request.draft == false
12+
name: CPU Unit Tests
1013
runs-on: ubuntu-latest
1114

1215
strategy:
1316
matrix:
14-
python-version: [3.11]
17+
python-version: [3.12]
1518

1619
steps:
1720
- name: Checkout code
@@ -35,3 +38,7 @@ jobs:
3538
- name: Verify package import
3639
run: |
3740
python -c "import provada"
41+
42+
- name: Run CPU unit tests
43+
run: |
44+
pytest --no-wandb --skip-gpu

‎.gitignore‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
**results
44
**tmp_
55
**logs
6+
**wandb
7+
*.csv
8+
*provada/components/locks
9+
*.vscode
10+
*.mov
11+
*.gif
12+
*.mp4
13+
analyze/output/*
614

715
# Byte-compiled / optimized / DLL files
816
__pycache__/
@@ -163,4 +171,4 @@ cython_debug/
163171
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
164172
# and can be added to the global gitignore or merged into this file. For a more nuclear
165173
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
166-
#.idea/
174+
#.idea/

‎.gitmodules‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)