Skip to content

Commit

Permalink
Merge branch 'main' of github.com:EpiForeSITE/epiworld-forecasts into…
Browse files Browse the repository at this point in the history
… 8-write-github-action-to-push-quarto-website-to-github-page
  • Loading branch information
apulsipher committed Oct 7, 2024
2 parents bc627f6 + c1b18bd commit f3b8515
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @apulsipher
23 changes: 23 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pre-commit

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
pre-commit:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3

- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.1
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Temporary Items
# iCloud generated files
*.icloud

# End of https://www.toptal.com/developers/gitignore/api/macos
# End of https://www.toptal.com/developers/gitignore/api/macos
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: detect-private-key

- repo: https://github.com/lorenzwalthert/precommit
rev: v0.4.2
hooks:
- id: style-files
args:
[
'--ignore-start="^# styler: off$"',
'--ignore-stop="^# styler: on$"',
'--strict=FALSE'
]
- id: lintr
args: [--warn_only]
verbose: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ The forecast will update automatically each week using GitHub Actions.
## Data Sources
We are currently planning to use the [weekly reports](https://coronavirus.utah.gov/case-counts/) published by Utah DHHS on COVID-19, Influenza, and Respiratory syncytial virus (RSV).

In the future, we may use Germ Watch or additional public data sources.
In the future, we may use Germ Watch or additional public data sources.

0 comments on commit f3b8515

Please sign in to comment.