Skip to content

Commit

Permalink
Merge pull request #23 from Appsilon/bump-versions
Browse files Browse the repository at this point in the history
chore: bump versions
  • Loading branch information
pstorozenko authored Apr 3, 2024
2 parents 20cd94c + d602130 commit 85286b9
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 86 deletions.
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

0 comments on commit 85286b9

Please sign in to comment.