Skip to content

Commit

Permalink
Flake8 setup (#8)
Browse files Browse the repository at this point in the history
* Flake8 setup

* Update CI config

* Add placeholder test to make CI suceed

* Fix CI doc path

* Add make targets back to CI
  • Loading branch information
jklaise authored Feb 28, 2019
1 parent 2aba60e commit bbe48b0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: Build docs
command: cd doc/ && make html
- persist_to_workspace:
root: docs/_build
root: doc/_build
paths: html

workflows:
Expand Down
1 change: 0 additions & 1 deletion alibi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
__version__ = '0.0.1'

2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../..'))


# -- Project information -----------------------------------------------------
Expand Down
8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ addopts =
--tb native
-W ignore
--cov=alibi

[flake8]
max-line-length = 120
exclude =
# sphinx configuration
doc/source/conf.py
# post-test
.eggs/
Empty file removed tests/.keep
Empty file.
2 changes: 2 additions & 0 deletions tests/test_placeholder.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def test_placeholder():
pass

0 comments on commit bbe48b0

Please sign in to comment.