AIVLAD commited on
Commit
f9ac09f
·
1 Parent(s): 8b5483b

chore: cleanup demo project - remove redundancies and fix configs

Browse files

- Remove unused import sys from scripts/run_tests.py
- Fix test config: remove testpaths (no tests dir), remove --disable-warnings conflict
- Remove redundant [tool.setuptools] section from pyproject.toml
- Update README.md Structure section to list all files
- Create tests/ directory for future tests

Files changed (5) hide show
  1. README.md +4 -0
  2. pyproject.toml +0 -3
  3. pytest.ini +0 -2
  4. scripts/run_tests.py +0 -2
  5. tests/__init__.py +0 -0
README.md CHANGED
@@ -15,9 +15,13 @@ From the orchestrator root:
15
 
16
  - `main.py` - Minimal demo script showing module initialization
17
  - `__init__.py` - Python package marker
 
18
  - `pyproject.toml` - Project dependencies and tool configuration
19
  - `pytest.ini` - Test configuration
20
  - `python.ver` - Python version requirement (3.12)
 
 
 
21
 
22
  ## Development
23
 
 
15
 
16
  - `main.py` - Minimal demo script showing module initialization
17
  - `__init__.py` - Python package marker
18
+ - `module_setup.py` - Environment setup using uv package manager
19
  - `pyproject.toml` - Project dependencies and tool configuration
20
  - `pytest.ini` - Test configuration
21
  - `python.ver` - Python version requirement (3.12)
22
+ - `.gitignore` - Git ignore patterns (.venv, uv.lock, build artifacts)
23
+ - `scripts/run_tests.py` - Test runner script
24
+ - `README.md` - This file
25
 
26
  ## Development
27
 
pyproject.toml CHANGED
@@ -24,9 +24,6 @@ dev = [
24
  requires = ["setuptools>=69", "wheel"]
25
  build-backend = "setuptools.build_meta"
26
 
27
- [tool.setuptools]
28
- py-modules = []
29
-
30
  [tool.mypy]
31
  python_version = "3.12"
32
  warn_unused_ignores = true
 
24
  requires = ["setuptools>=69", "wheel"]
25
  build-backend = "setuptools.build_meta"
26
 
 
 
 
27
  [tool.mypy]
28
  python_version = "3.12"
29
  warn_unused_ignores = true
pytest.ini CHANGED
@@ -1,5 +1,4 @@
1
  [pytest]
2
- testpaths = tests
3
  python_files = test_*.py
4
  python_classes = Test*
5
  python_functions = test_*
@@ -15,7 +14,6 @@ log_cli_date_format = %Y-%m-%d %H:%M:%S
15
  addopts =
16
  --strict-markers
17
  --tb=short
18
- --disable-warnings
19
 
20
  markers =
21
  slow: marks tests as slow (deselect with '-m "not slow"')
 
1
  [pytest]
 
2
  python_files = test_*.py
3
  python_classes = Test*
4
  python_functions = test_*
 
14
  addopts =
15
  --strict-markers
16
  --tb=short
 
17
 
18
  markers =
19
  slow: marks tests as slow (deselect with '-m "not slow"')
scripts/run_tests.py CHANGED
@@ -2,8 +2,6 @@
2
  """Test runner for demo project (no tests yet)."""
3
  from __future__ import annotations
4
 
5
- import sys
6
-
7
 
8
  def main() -> int:
9
  """Run tests - currently none exist."""
 
2
  """Test runner for demo project (no tests yet)."""
3
  from __future__ import annotations
4
 
 
 
5
 
6
  def main() -> int:
7
  """Run tests - currently none exist."""
tests/__init__.py ADDED
File without changes