Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov pytest-mock
pip install -e ".[dev]"
pip install -r requirements.txt

- name: Install package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Run unit tests
run: |
pip install pytest pytest-mock
pip install -e ".[dev]"
pytest tests/ -v

- name: Lint Python code with ruff
Expand Down
11 changes: 3 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,21 +134,16 @@ Unsure where to begin? Look for issues labeled:

3. **Install dependencies**:
```bash
pip install -e .
pip install -e ".[dev]"
pip install -r requirements.txt
```

4. **Install development dependencies**:
```bash
pip install pytest pytest-cov black isort flake8 mypy
```

5. **Install external tools** (optional, for full testing):
4. **Install external tools** (optional, for full testing):
```bash
python -m docksec.setup_external_tools
```

6. **Set up environment variables**:
5. **Set up environment variables**:
```bash
cp .env.example .env
# Edit .env and add your OpenAI API key if testing AI features
Expand Down
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@
"setuptools>=65.0.0",
"ruamel.yaml>=0.18.6",
],
extras_require={
"dev": [
"pytest",
"pytest-cov",
"pytest-mock",
"black",
"isort",
"flake8",
"mypy",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down
Loading