Skip to content

Commit

Permalink
fix tox+isort configurations to prepare for pypi publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
mdazam1942 committed Jul 15, 2020
1 parent dee581e commit 3e01ac7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ check=1
diff=1
known_third_party=antlr4,enum,dateutil,six,stix2patterns,typing
known_first_party=stix2matcher
not_skip=__init__.py
force_sort_within_sections=1
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
include .isort.cfg
include .pre-commit-config.yaml
include *.md
include *.txt
include LICENSE
include CHANGELOG.rst
include tox.ini
recursive-include stix2matcher/test/testcases *.json
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,16 @@ passenv = CI TRAVIS TRAVIS_*
deps =
flake8
commands =
flake8
flake8 ./stix2matcher

[testenv:isort-check]
[isort]
deps = isort
commands =
isort -rc stix2matcher -df
isort -rc stix2matcher -c
isort stix2matcher --df
isort stix2matcher -c

[pycodestyle]
max-line-length=160
exclude=grammars

[flake8]
max-line-length=160
Expand Down

0 comments on commit 3e01ac7

Please sign in to comment.