Rename default branch from `master` to `main`.
This commit is contained in:
parent
fa06794a05
commit
00d68ba352
|
@ -13,10 +13,10 @@ name: "CodeQL"
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
schedule:
|
||||
- cron: '16 20 * * 0'
|
||||
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
[![](https://img.shields.io/pypi/v/python-benedict.svg?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/python-benedict/)
|
||||
[![](https://pepy.tech/badge/python-benedict/month)](https://pepy.tech/project/python-benedict)
|
||||
[![](https://img.shields.io/github/stars/fabiocaccamo/python-benedict?logo=github)](https://github.com/fabiocaccamo/python-benedict/)
|
||||
[![](https://img.shields.io/pypi/l/python-benedict.svg?color=blue)](https://github.com/fabiocaccamo/python-benedict/blob/master/LICENSE.txt)
|
||||
[![](https://img.shields.io/pypi/l/python-benedict.svg?color=blue)](https://github.com/fabiocaccamo/python-benedict/blob/main/LICENSE.txt)
|
||||
|
||||
[![](https://results.pre-commit.ci/badge/github/fabiocaccamo/python-benedict/master.svg)](https://results.pre-commit.ci/latest/github/fabiocaccamo/python-benedict/master)
|
||||
[![](https://img.shields.io/github/actions/workflow/status/fabiocaccamo/python-benedict/test-package.yml?branch=master&label=build&logo=github)](https://github.com/fabiocaccamo/python-benedict)
|
||||
[![](https://results.pre-commit.ci/badge/github/fabiocaccamo/python-benedict/main.svg)](https://results.pre-commit.ci/latest/github/fabiocaccamo/python-benedict/main)
|
||||
[![](https://img.shields.io/github/actions/workflow/status/fabiocaccamo/python-benedict/test-package.yml?branch=main&label=build&logo=github)](https://github.com/fabiocaccamo/python-benedict)
|
||||
[![](https://img.shields.io/codecov/c/gh/fabiocaccamo/python-benedict?logo=codecov)](https://codecov.io/gh/fabiocaccamo/python-benedict)
|
||||
[![](https://img.shields.io/codeclimate/maintainability/fabiocaccamo/python-benedict?logo=code-climate)](https://codeclimate.com/github/fabiocaccamo/python-benedict/)
|
||||
[![](https://img.shields.io/codacy/grade/0dbd5cc2089f4dce80a0e49e6822be3c?logo=codacy)](https://www.codacy.com/app/fabiocaccamo/python-benedict)
|
||||
[![](https://img.shields.io/scrutinizer/quality/g/fabiocaccamo/python-benedict?logo=scrutinizer)](https://scrutinizer-ci.com/g/fabiocaccamo/python-benedict/?branch=master)
|
||||
[![](https://img.shields.io/scrutinizer/quality/g/fabiocaccamo/python-benedict?logo=scrutinizer)](https://scrutinizer-ci.com/g/fabiocaccamo/python-benedict/?branch=main)
|
||||
[![](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
|
||||
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ class io_dict_test_case(unittest.TestCase):
|
|||
|
||||
@staticmethod
|
||||
def input_url(filepath):
|
||||
return f"https://raw.githubusercontent.com/fabiocaccamo/python-benedict/master/tests/dicts/io/input/{filepath}"
|
||||
return f"https://raw.githubusercontent.com/fabiocaccamo/python-benedict/main/tests/dicts/io/input/{filepath}"
|
||||
|
||||
@staticmethod
|
||||
def output_path(filepath):
|
||||
|
|
|
@ -105,7 +105,7 @@ class io_dict_xls_test_case(io_dict_test_case):
|
|||
msg=f"test_from_xls_({extension})_with_valid_url_valid_content"
|
||||
):
|
||||
# url = f"https://github.com/fabiocaccamo/python-benedict/raw/s3/tests/dicts/io/input/valid-content.{extension}"
|
||||
url = f"https://github.com/fabiocaccamo/python-benedict/raw/master/tests/dicts/io/input/valid-content.{extension}"
|
||||
url = f"https://github.com/fabiocaccamo/python-benedict/raw/main/tests/dicts/io/input/valid-content.{extension}"
|
||||
# static method
|
||||
d = IODict.from_xls(url)
|
||||
self.assertTrue(isinstance(d, dict))
|
||||
|
|
Loading…
Reference in New Issue