diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2016-04-06 23:51:41 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2016-04-06 23:55:37 +0200 |
commit | 94a9b2cf9ddd7be181c984793a5404e2b95a779e (patch) | |
tree | be5f2e174392bfe4f2bf7069aa5c01d1ae37971d | |
parent | b401c3d2eac2aa9b73815034b44af75f65e6d7bc (diff) | |
download | factory-boy-94a9b2cf9ddd7be181c984793a5404e2b95a779e.tar factory-boy-94a9b2cf9ddd7be181c984793a5404e2b95a779e.tar.gz |
Cleanup manifest.
Also, use check_manifest to check for MANIFEST.in / git mismatches.
-rw-r--r-- | MANIFEST.in | 16 | ||||
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | tox.ini | 4 |
3 files changed, 15 insertions, 6 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index 22f4a5c..19b0f8c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,8 +1,12 @@ -include README.rst +include ChangeLog LICENSE README.rst include requirements*.txt -include docs/Makefile -recursive-include docs *.py *.rst -include docs/_static/.keep_dir -prune docs/_build -recursive-include tests *.py *.data +graft factory + +prune docs +prune examples +prune tests + +global-exclude .py[cod] __pycache__ + +exclude Makefile tox.ini .pylintrc @@ -34,6 +34,7 @@ example-test: $(MAKE) -C $(EXAMPLES_DIR) test lint: + check-manifest pylint --rcfile=.pylintrc --report=no $(PACKAGE)/ coverage: @@ -31,5 +31,9 @@ whitelist_externals = make commands = make example-test [testenv:lint] +deps = + pylint + check_manifest + whitelist_externals = make commands = make lint |