Skip to content

Commit

Permalink
Merge pull request #185 from arokem/gha
Browse files Browse the repository at this point in the history
Fix GHA
  • Loading branch information
arokem authored Dec 19, 2020
2 parents bddeebe + ab69a94 commit a2086a0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 21 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ jobs:
- name: Install
run: |
python -m pip install --upgrade pip
pip install .
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install .
- name: Lint
run: |
flake8 --ignore N802,N806,W503 --select W504 `find . -name \*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`
flake8 --ignore N802,N806,W504 --select W503 `find . -name \*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`
- name: Test
run: |
cd && mkdir for_test && cd for_test && pytest --pyargs nitime --cov-report term-missing --cov=AFQ
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pytest
pytest-cov
nibabel
networkx
flake8
4 changes: 2 additions & 2 deletions tools/apigen.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ def generate_api_doc(self, uri):
ad = '.. AUTO-GENERATED FILE -- DO NOT EDIT!\n\n'

chap_title = uri_short
ad += (chap_title+'\n'+ self.rst_section_levels[1] * len(chap_title)
+ '\n\n')
ad += (chap_title+'\n' + self.rst_section_levels[1] *
len(chap_title) + '\n\n')

# Set the chapter title to read 'module' for all modules except for the
# main packages
Expand Down

0 comments on commit a2086a0

Please sign in to comment.