Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump versions #23

Merged
merged 1 commit into from
Apr 3, 2024
Merged
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 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
exclude: ^data/records\.parquet$

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.4
rev: v0.3.5
hooks:
- id: ruff
- id: ruff-format
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ Our template ensures a streamlined development lifecycle, offering:
- `pre-commit` for clean commits.
- `ruff` for linting (`ruff check`) and formatting (`ruff format`).
- `pytest-cov` to monitor test coverage.
- `bandit` for security checks.
- **Continuous Integration**: Automated checks via GitHub Actions.
- **Structured Logging with Loguru**: Enhanced debugging and monitoring.
- **Best Practice Configuration**: Using `pydantic-settings`.
Expand Down
107 changes: 29 additions & 78 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ icecream = "^2.1.3" # For debugging, print() on steroids
ipykernel = "^6.29.3" # For running Jupyter notebooks in VS Code
ipywidgets = "^8.1.2" # For running Jupyter notebooks in VS Code
pre-commit = "^3.6.2"
ruff = "^0.3.2"
ruff = "^0.3.5"
rsconnect-python = "^1.22.0"
pytest = "^8.1.1"
playwright = "^1.42.0"
pytest-playwright = "^0.4.4"
requests = "^2.31.0"
tenacity = "^8.2.3"
bandit = "^1.7.8"
pytest-watch = "^4.2.0"
pytest-cov = "^5.0.0"
mypy = "^1.9.0"
Expand Down
5 changes: 1 addition & 4 deletions quality_checks.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/bin/bash
# This script is for running quality checks in GitHub Actions.
# It runs tests, security analysis with Bandit, and type checks with mypy.
# It runs tests, and type checks with mypy.

set -e # Exit immediately if a command exits with a non-zero status.

echo "Running pytest for unit tests..."
poetry run pytest

echo "Running Bandit for security analysis..."
poetry run bandit -r pyshiny_template

echo "Running mypy for type checking..."
poetry run mypy pyshiny_template
Loading