Skip to content

Commit

Permalink
clean with git to avoid duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeff committed Dec 14, 2017
1 parent 41abaa5 commit 8e0ca6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 32 deletions.
27 changes: 6 additions & 21 deletions .gitignore
@@ -1,7 +1,4 @@
*.py[cod]

# C extensions
*.so
__pycache__/

# Packages
*.egg
Expand All @@ -15,38 +12,26 @@ var
sdist
develop-eggs
.installed.cfg
lib
lib64

# Installer logs
pip-log.txt

# Unit test / coverage reports
# Coverage reports
.coverage
.tox
nosetests.xml
htmlcov

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Complexity
output/*.html
output/*/index.html

# Sphinx
# Sphinx documentation
doc/_build

# Vim swap files
.*.swp

# Mac junk
# Mac OS garbage
.DS_Store

#iPython notebook junk
.ipynb*
# Jupyter notebook
.ipynb_checkpoints/
12 changes: 1 addition & 11 deletions Makefile
Expand Up @@ -9,17 +9,7 @@ help:
@echo "release package and upload to PyPI"

clean:
# Python files.
find . -name '__pycache__' -exec rm -rf {} +
# Documentation.
rm -rf doc/_build
# Coverage.
rm -rf .coverage
rm -rf htmlcov
# Package build.
rm -rf build
rm -rf dist
rm -rf *.egg-info
git clean -Xdf

lint:
flake8 --doctests --exclude=doc
Expand Down

0 comments on commit 8e0ca6b

Please sign in to comment.