Commit Graph

21 Commits

Author SHA1 Message Date
Anthony Sottile
f8e21cb78b add support for dart as a hook language 2021-08-29 08:57:56 -07:00
Anthony Sottile
7486dee082 fix for base executable with non-ascii characters on windows 2020-11-25 12:44:48 -08:00
Anthony Sottile
58a190fd69 don't pass through -p if using the default version 2020-09-23 17:44:18 -07:00
Anthony Sottile
b63b37ac36 fix cache of invalidated unhealthy environment version info 2020-08-23 10:17:24 -07:00
Anthony Sottile
3d50b3736a Improve python healthy() and eliminate python_venv
- the `healthy()` check now requires virtualenv 20.x's metadata
- `python_venv` is obsolete now that `virtualenv` generates the same structure
  and `virtualenv` is more portable
2020-05-03 21:55:48 -07:00
Anthony Sottile
7a49309035 mark a python environment as unhealthy if python goes missing 2020-03-12 09:40:56 -07:00
Anthony Sottile
67c1beb322 Use covdefaults to handle coveragerc 2020-02-29 14:25:19 -08:00
Anthony Sottile
df40e862f4 More miscellaneous cleanup 2020-01-13 11:47:34 -08:00
Anthony Sottile
ab19b94811 some manual py2 cleanups 2020-01-12 09:27:04 -08:00
Anthony Sottile
30c1e8289f upgrade hooks, pyupgrade pre-commit 2020-01-12 09:27:04 -08:00
Anthony Sottile
f6b0c135ce Create an actual environment for python healthy() types test 2019-12-06 13:31:08 -08:00
Anthony Sottile
bfcee8ec9f Fix python.healthy() check with stdlib module clashes 2019-10-22 13:23:57 -07:00
Ville Skyttä
f84b19748d Patch the correct find_executable 2019-08-15 19:28:07 +03:00
Ville Skyttä
562276098c Address more @asottile's review comments 2019-08-15 18:54:08 +03:00
Ville Skyttä
38da98d2d6 Address @asottile's review comments 2019-08-15 18:43:31 +03:00
Ville Skyttä
c377830898 Mock find_executable for find_by_sys_executable test 2019-08-15 18:34:25 +03:00
Ville Skyttä
fa2e154b41 Stabilize python default version lookup
For example, for sys.executable:
    /usr/bin/python3 -> python3.7
...the default lookup may return either python3 or python3.7. Make the
order deterministic by iterating over tuple, not set, of candidates.
2019-08-15 10:06:31 +03:00
Anthony Sottile
32d65236bf Use sys.executable if it matches the requested version 2019-01-10 06:48:49 -08:00
Anthony Sottile
2af0b0b4f3 better no-cover for windows 2018-12-27 18:25:52 -08:00
Anthony Sottile
b81c9802ae Remove py26 format literals
Resolves #403
2016-09-15 08:41:58 -07:00
Anthony Sottile
248930f6dc Fix appveyor and windows. Resolves #293 2015-11-23 22:28:57 -08:00