Changeset - 8dbe807efbb1
[Not reviewed]
1 1 0
Brett Smith - 4 years ago 2020-06-04 02:27:49
brettcsmith@brettcsmith.org
setup: Move tox.ini to setup.cfg.
2 files changed with 12 insertions and 11 deletions:
0 comments (0 inline, 0 general)
setup.cfg
Show inline comments
...
 
@@ -12,3 +12,15 @@ warn_redundant_casts = True
 
warn_return_any = True
 
warn_unreachable = True
 
warn_unused_configs = True
 

	
 
[tox:tox]
 
envlist = py36,py37
 

	
 
[testenv]
 
# Beancount includes type declarations but not the `py.typed` flag file mypy
 
# is looking for to know that. Create it ourselves.
 
commands_pre = python -c 'import beancount, pathlib; pathlib.Path(beancount.__file__).with_name("py.typed").touch()'
 

	
 
commands =
 
  ./setup.py test
 
  ./setup.py typecheck
tox.ini
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)