summaryrefslogtreecommitdiff
path: root/test/command_callback/python_paths
AgeCommit message (Collapse)Author
2020-01-02Mypy: try to find folder containing mypy.ini to use as cwd. (#2385)Harry Percival
* When deciding which directory to run mypy from, prefer a folder with mypy.ini in it * Add a test for mypy.ini-finding behaviour
2019-08-18Black fixer should include --pyi for files with .pyi extension (#2705)richyfish
* black fixer should include --pyi for files with .pyi extension
2019-06-08Add support for reorder-python-imports fixerJake Kaufman
isort is great, but I've come to prefer reorder-python-imports. The tool has a focus on smaller diffs than isort. reorder-python-imports is also a little smarter than isort which is nice.
2019-02-17python/bandit: Use .bandit configuration fileKevin Locke
Bandit automatically [uses any .bandit file] within the directories on which it is invoked. Since ALE invokes bandit on stdin, it does not load a .bandit file automatically. Add support for automatically finding a .bandit file and passing it to bandit via the --ini option along with a variable to disable this behavior if desired. Note: This is useful for the skips and tests configuration options, but not exclude which would require invoking bandit using a file name, which may or may not be a good trade-off. [uses any .bandit file]: https://github.com/PyCQA/bandit/blob/1.5.1/bandit/cli/main.py#L70-L73 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-10Document and test ale_python_vulture_optionsKevin Locke
The vulture linter already supports ale_python_vulture_options, but it is not documented or tested. Since vulture only supports configuration via options, it is an important use case. Add docs and test. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-08Support pylama for python (#2266)Kevin Locke
* Add pylama for python * Consolidate python traceback handling
2018-07-02add dummy pyre binary and executableDerek P Sifford
2018-04-06Added support for Python black fixer (#1451)Jack Evans
2017-12-20Add support for linting git commit message files (#1233)Nick Diego Yamane
2017-11-22Fix the Windows tests for pylsw0rp
2017-11-21Escape the pyls executable in the command, and support running virtualenv ↵w0rp
pyls executables
2017-11-17Fix #516 - Add support for pyflakes for Pythonw0rp
2017-11-04#1081 Use executable() for Python executables on Windows, and rename the ↵w0rp
test files to .exe so they will pass the executable() check
2017-10-01Add a Scripts dir for tests on Windowsw0rp
2017-07-20Fix #786 - Only set --no-local-style for yapf if a configuration file is ↵w0rp
detected
2017-07-11Look for ini file to spot python project root (#755)Matteo Centenaro
* Look for ini file to spot project root When looking for the project root folder it would be better to check for some well-known init file instead of __init__.py. Indeed, with python3 it is now possible to have namespace modules where intermediate dirs are not required to include the __init__.py file. * Break if statement conditions over several lines * Add blank lines for the if block * Add test for FindProjectRoot * Typo: missing / for MANIFEST.in * Fix test for non-namespace package * Add more test cases
2017-06-07Search python fixers in virtual environment (#632)José Luis Lafuente
* Search python fixers in virtual environment * Add tests for python fixers
2017-05-07#335 Detect flake8 in vritualenv, and escape the executable pathw0rp
2017-05-06Fix #363 - Detect virtualenv executables and fix import paths for mypy. Use ↵w0rp
lint_file for mypy
2017-05-06#208 Automatically detect pylint in virtualenv directoriesw0rp