aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-07-25 22:17:22 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-07-27 12:03:01 -0400
commit6535ec6b95d3b3978fe52ea31523c7bd14f4e95b (patch)
treeae0dc1ef5fae5cfdc299e4c78584d1264b750ab9 /tox.ini
parent74c6bdaf8c631ce9af957edb0ae6c96b17bca6e2 (diff)
downloadexternal_python_mako-6535ec6b95d3b3978fe52ea31523c7bd14f4e95b.tar.gz
external_python_mako-6535ec6b95d3b3978fe52ea31523c7bd14f4e95b.tar.bz2
external_python_mako-6535ec6b95d3b3978fe52ea31523c7bd14f4e95b.zip
use timeit.default_timer instead of time.clock() / time.time()
Replaced usage of time.clock() on windows as well as time.time() elsewhere for microsecond timestamps with timeit.default_timer(), as time.clock() is being removed in Python 3.8. Pull request courtesy Christoph Reiter. Fixes: #301 Closes: #302 Pull-request: https://github.com/sqlalchemy/mako/pull/302 Pull-request-sha: a706e952727337702692fd1d8369d259e1600d6e Change-Id: I24e2cd3d2c02323a6fa2b063e86cabe555df2036
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 8611507..45b48d1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -29,6 +29,7 @@ deps=
flake8-builtins
flake8-docstrings
flake8-rst-docstrings
+ pydocstyle<4.0.0
# used by flake8-rst-docstrings
pygments
commands = flake8 ./mako/ ./test/ setup.py --exclude test/templates,test/foo