Loading .coveragerc 0 → 100644 +11 −0 Original line number Diff line number Diff line [run] source = autocnet [report] omit = fileio/ControlNetFileV0002_pb2.py exclude_lines = pragma: no cover def __repr__ raise AssertionError raise NotImplementedError if __name__ == __main__: .gitignore +63 −6 Original line number Diff line number Diff line #Py Files *.pyc #Vim *.swp #iPython /.ipynb* #PyCharm /.idea # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ *.egg-info/ .installed.cfg *.egg # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *,cover .hypothesis/ # Translations *.mo *.pot # Django stuff: *.log # Sphinx documentation docs/_build/ # PyBuilder target/ # Vim *.swp No newline at end of file README.rst +5 −2 Original line number Diff line number Diff line Loading @@ -5,8 +5,11 @@ AutoCNet .. image:: https://img.shields.io/pypi/v/autocnet.svg :target: https://pypi.python.org/pypi/autocnet .. image:: https://img.shields.io/travis/jlaura@usgs.gov/autocnet.svg :target: https://travis-ci.org/jlaura@usgs.gov/autocnet .. image:: https://travis-ci.org/USGS-Astrogeology/autocnet.svg?branch=master :target: https://travis-ci.org/USGS-Astrogeology/autocnet .. image:: https://coveralls.io/repos/USGS-Astrogeology/autocnet/badge.svg?branch=master&service=github :target: https://coveralls.io/github/USGS-Astrogeology/autocnet?branch=master .. image:: https://readthedocs.org/projects/autocnet/badge/?version=latest :target: https://readthedocs.org/projects/autocnet/?badge=latest Loading autocnet/__init__.py +1 −0 Original line number Diff line number Diff line __version__ = "0.1.0" docs/conf.py +10 −0 Original line number Diff line number Diff line Loading @@ -273,3 +273,13 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False #For ReadTheDocs, using Mocking to get the builds working. from unittest.mock import MagicMock class Mock(MagicMock): @classmethod def __getter__(cls, name): return Mock() MOCK_MODULES = ['pyproj', 'gdal', 'numpy', 'pandas'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) Loading
.coveragerc 0 → 100644 +11 −0 Original line number Diff line number Diff line [run] source = autocnet [report] omit = fileio/ControlNetFileV0002_pb2.py exclude_lines = pragma: no cover def __repr__ raise AssertionError raise NotImplementedError if __name__ == __main__:
.gitignore +63 −6 Original line number Diff line number Diff line #Py Files *.pyc #Vim *.swp #iPython /.ipynb* #PyCharm /.idea # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ *.egg-info/ .installed.cfg *.egg # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *,cover .hypothesis/ # Translations *.mo *.pot # Django stuff: *.log # Sphinx documentation docs/_build/ # PyBuilder target/ # Vim *.swp No newline at end of file
README.rst +5 −2 Original line number Diff line number Diff line Loading @@ -5,8 +5,11 @@ AutoCNet .. image:: https://img.shields.io/pypi/v/autocnet.svg :target: https://pypi.python.org/pypi/autocnet .. image:: https://img.shields.io/travis/jlaura@usgs.gov/autocnet.svg :target: https://travis-ci.org/jlaura@usgs.gov/autocnet .. image:: https://travis-ci.org/USGS-Astrogeology/autocnet.svg?branch=master :target: https://travis-ci.org/USGS-Astrogeology/autocnet .. image:: https://coveralls.io/repos/USGS-Astrogeology/autocnet/badge.svg?branch=master&service=github :target: https://coveralls.io/github/USGS-Astrogeology/autocnet?branch=master .. image:: https://readthedocs.org/projects/autocnet/badge/?version=latest :target: https://readthedocs.org/projects/autocnet/?badge=latest Loading
docs/conf.py +10 −0 Original line number Diff line number Diff line Loading @@ -273,3 +273,13 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False #For ReadTheDocs, using Mocking to get the builds working. from unittest.mock import MagicMock class Mock(MagicMock): @classmethod def __getter__(cls, name): return Mock() MOCK_MODULES = ['pyproj', 'gdal', 'numpy', 'pandas'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)