Skip to content

Commit

Permalink
fix config (#294)
Browse files Browse the repository at this point in the history
* fix config

* target branch change

* update links
  • Loading branch information
trevorstephens committed Aug 12, 2023
1 parent 5f3f631 commit 64517a8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
# Every friday at 4am UTC
- cron: '0 4 * * 5'
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
test:
Expand All @@ -30,10 +30,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
- name: Set up Python ${{ matrix.python_version }} on ${{ matrix.os }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python_version }}
- name: Install global dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Please ensure that:
- No input validation occurs before fitting the estimator.
- Any new feature has great test coverage.
- Any new feature is well documented with
[numpy-style docstrings](https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt)
[numpy-style docstrings](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard)
& an example, if appropriate and illustrative.
- Any bug fix has regression tests.
- Comply with [PEP8](https://pypi.python.org/pypi/pep8).
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:target: https://pypi.python.org/pypi/gplearn/
:alt: Version
.. image:: https://img.shields.io/pypi/l/gplearn.svg
:target: https://github.com/trevorstephens/gplearn/blob/master/LICENSE
:target: https://github.com/trevorstephens/gplearn/blob/main/LICENSE
:alt: License
.. image:: https://readthedocs.org/projects/gplearn/badge/?version=stable
:target: http://gplearn.readthedocs.io/
Expand Down
2 changes: 1 addition & 1 deletion doc/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Please ensure that:
- No input validation occurs before fitting the estimator.
- Any new feature has great test coverage.
- Any new feature is well documented with
`numpy-style docstrings <https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt>`_
`numpy-style docstrings <https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard>`_
& an example, if appropriate and illustrative.
- Any bug fix has regression tests.
- Comply with `PEP8 <https://pypi.python.org/pypi/pep8>`_.
Expand Down
2 changes: 1 addition & 1 deletion doc/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Examples
========

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

.. currentmodule:: gplearn.genetic
Expand Down

0 comments on commit 64517a8

Please sign in to comment.