Skip to content

Commit

Permalink
switch from master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
phobson committed Feb 19, 2024
1 parent 867cb5d commit fafc727
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-test-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Run coverage via codecov
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-runtests-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Run basic unit tests

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
AUTHOR = "Paul Hobson (Geosyntec Consultants)"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/Geosyntec/wqio"
DOWNLOAD_URL = "https://github.com/Geosyntec/wqio/archive/master.zip"
DOWNLOAD_URL = "https://github.com/Geosyntec/wqio/archive/main.zip"
LICENSE = "BSD 3-clause"
PACKAGES = find_packages()
PLATFORMS = "Python 3.9 and later."
Expand Down
2 changes: 1 addition & 1 deletion wqio/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def download(dataset, year=None, redownload=True, data_dir=None):
fname = validate.dataset(dataset)

tag = "master" if year is None else f"v{year:d}"
tag = "main" if year is None else f"v{year:d}"

url_template = (
"https://github.com/Geosyntec/water-quality-datasets/blob/{tag:s}/data/{fname:s}?raw=true"
Expand Down

0 comments on commit fafc727

Please sign in to comment.