Skip to content

Commit

Permalink
update test-req vs req
Browse files Browse the repository at this point in the history
  • Loading branch information
mvinyard committed Feb 28, 2025
1 parent 9d16be7 commit 5ea197b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov
pip install -r test-requirements.txt
pip install -e .
- name: Run tests with coverage
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ __pycache__/
# C extensions
*.so

.pytest_cache/
.log_cache/

# Distribution / packaging
.Python
build/
Expand Down
2 changes: 1 addition & 1 deletion ABCParse/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0-a2"
__version__ = "0.1.0-a3"
3 changes: 1 addition & 2 deletions ABCParse/logging/_abc_logger.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -- import packages: ---------------------------------------------------------
import logging
import os
import pathlib
import sys

Expand Down Expand Up @@ -58,7 +57,7 @@ def __init__(
file_level : Optional[str], default=None
Logging level for the file handler. If None, uses the same level as the console handler.
"""
print(f"Initializing ABCLogger with file_path: {file_path}")

self.name = name
self.level = level
self.file_level = file_level if file_level else level
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
pytest>=7.0.0
pytest-cov>=4.0.0
2 changes: 2 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pytest>=7.0.0
pytest-cov>=4.0.0

0 comments on commit 5ea197b

Please sign in to comment.