Skip to content

Commit fb53e3b

Browse files
Merge pull request #15 from marioernestovaldes/dev
Merge dev with main branch
2 parents 3fc944b + 7ab85e3 commit fb53e3b

File tree

14 files changed

+1387
-656
lines changed

14 files changed

+1387
-656
lines changed

.github/workflows/pytest.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [ main, master ]
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: '3.10'
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install -r requirements.txt
20+
pip install .
21+
pip install pytest pytest-cov
22+
- name: Run tests
23+
run: pytest --cov=dynamicviz --cov-report=xml --cov-report=term

AGENTS.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Contributor Guide
2+
3+
## Dev Environment Tips
4+
- Use `uv venv`
5+
- Run `uv pip install -r requirements.txt`
6+
- Format code with `black .` and lint using `ruff check .`.
7+
- Run all tests using `pytest`, or filter by test name with `pytest -k "<test_name>"`.
8+
- Generate a coverage report with `pytest --cov=your_package_name --cov-report=term-missing`.
9+
- Use `mypy` to perform static type checks if configured.
10+
- Follow the project layout, and mirror test structure in `tests/` for clarity.
11+
12+
## Testing Instructions
13+
- Find the CI plan in the .github/workflows folder.
14+
- Run every check defined for that package.
15+
- The commit should pass all tests before you merge.
16+
- Fix any test or type errors until the whole suite is green.
17+
- Add or update tests for the code you change, even if nobody asked.
18+
19+
## PR instructions
20+
Title format: [<project_name>] <Title>

dynamicviz/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
'''DynamicViz provides a wrapper for generating and interpreting dynamic visualizations from traditional static dimensionality reduction visualization methods'''
1+
"""DynamicViz provides a wrapper for generating and interpreting dynamic visualizations from traditional static dimensionality reduction visualization methods"""
22

3-
__version__ = "1.0.1"
3+
__version__ = "1.0.1"

0 commit comments

Comments
 (0)