From fafc72743cc3b13604ac1151c099658e08ff3027 Mon Sep 17 00:00:00 2001 From: Paul Hobson Date: Mon, 19 Feb 2024 15:38:42 -0800 Subject: [PATCH] switch from master to main --- .github/workflows/check-test-coverage.yml | 4 ++-- .github/workflows/python-runtests-basic.yml | 4 ++-- setup.py | 2 +- wqio/datasets.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-test-coverage.yml b/.github/workflows/check-test-coverage.yml index b1e59ca..a7d8fbc 100644 --- a/.github/workflows/check-test-coverage.yml +++ b/.github/workflows/check-test-coverage.yml @@ -1,9 +1,9 @@ name: Run coverage via codecov on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: run: diff --git a/.github/workflows/python-runtests-basic.yml b/.github/workflows/python-runtests-basic.yml index 2114ccf..74bb075 100644 --- a/.github/workflows/python-runtests-basic.yml +++ b/.github/workflows/python-runtests-basic.yml @@ -5,9 +5,9 @@ name: Run basic unit tests on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: diff --git a/setup.py b/setup.py index c85dc5c..c2e0a5f 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ AUTHOR = "Paul Hobson (Geosyntec Consultants)" AUTHOR_EMAIL = "phobson@geosyntec.com" 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." diff --git a/wqio/datasets.py b/wqio/datasets.py index 88d7a43..ccee5a7 100644 --- a/wqio/datasets.py +++ b/wqio/datasets.py @@ -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"