Skip to content

Commit 64517a8

Browse files
fix config (#294)
* fix config * target branch change * update links
1 parent 5f3f631 commit 64517a8

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55
# Every friday at 4am UTC
66
- cron: '0 4 * * 5'
77
push:
8-
branches: [ master ]
8+
branches: [ main ]
99
pull_request:
10-
branches: [ master ]
10+
branches: [ main ]
1111

1212
jobs:
1313
test:
@@ -30,10 +30,10 @@ jobs:
3030

3131
steps:
3232
- uses: actions/checkout@v3
33-
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
33+
- name: Set up Python ${{ matrix.python_version }} on ${{ matrix.os }}
3434
uses: actions/setup-python@v4
3535
with:
36-
python-version: ${{ matrix.python-version }}
36+
python-version: ${{ matrix.python_version }}
3737
- name: Install global dependencies
3838
run: |
3939
python -m pip install --upgrade pip

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Please ensure that:
3232
- No input validation occurs before fitting the estimator.
3333
- Any new feature has great test coverage.
3434
- Any new feature is well documented with
35-
[numpy-style docstrings](https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt)
35+
[numpy-style docstrings](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard)
3636
& an example, if appropriate and illustrative.
3737
- Any bug fix has regression tests.
3838
- Comply with [PEP8](https://pypi.python.org/pypi/pep8).

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:target: https://pypi.python.org/pypi/gplearn/
33
:alt: Version
44
.. image:: https://img.shields.io/pypi/l/gplearn.svg
5-
:target: https://github.com/trevorstephens/gplearn/blob/master/LICENSE
5+
:target: https://github.com/trevorstephens/gplearn/blob/main/LICENSE
66
:alt: License
77
.. image:: https://readthedocs.org/projects/gplearn/badge/?version=stable
88
:target: http://gplearn.readthedocs.io/

doc/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Please ensure that:
3434
- No input validation occurs before fitting the estimator.
3535
- Any new feature has great test coverage.
3636
- Any new feature is well documented with
37-
`numpy-style docstrings <https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt>`_
37+
`numpy-style docstrings <https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard>`_
3838
& an example, if appropriate and illustrative.
3939
- Any bug fix has regression tests.
4040
- Comply with `PEP8 <https://pypi.python.org/pypi/pep8>`_.

doc/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Examples
44
========
55

66
The code used to generate these examples can be
7-
`found here <https://github.com/trevorstephens/gplearn/blob/master/doc/gp_examples.ipynb>`_
7+
`found here <https://github.com/trevorstephens/gplearn/blob/main/doc/gp_examples.ipynb>`_
88
as an iPython Notebook.
99

1010
.. currentmodule:: gplearn.genetic

0 commit comments

Comments
 (0)