13 Commits

Author SHA1 Message Date
Jairo Llopis
2cf5be072a Print all logs to sys.stderr 2020-08-17 07:59:25 +01:00
Jairo Llopis
9bd9400580 Windows fixes
- Ignore errors when executing `shutil.rmtree()`, because it seems like it's common to fail when deleting git repos on Windows, and since these are temp files, we don't really care that much there's garbage left. Any good OS should clean the temp folders automatically.
- Always find Jinja templates in `PosixPath` mode.
- Ignore `OSError` when trying to enter a possibly git root directory. This is yielded by Windows when the path is a URL and we don't really care about it.
- Fix some tests with non-windows hardcoded stuff.
- Fix a test that was using a Bash script. Modified to be Python, which should work fine cross-system.
- Remove external python dependencies (yaml, plumbum) from test task/migration files. These are available on Linux because it gets the python env from the venv, but on Windows, it uses the main python interpreter and breaks. After all, that's not very important here.
- Do not modify EOL in CI.
- Use python executable in tests instead of python3.
- Update pre-commit versions to include https://github.com/pre-commit/pre-commit-hooks/pull/509.
- Disable autorebasing.
- Disable pre-commit on CI on Windows.
- Require python 3.8 on Windows, where `tempfile` supports autoremoving directories with read-only files.
2020-08-08 15:27:56 +00:00
Jairo Llopis
823f3a1935 Remove dst fixture
This is redundant with pytest's native `tmp_path` fixture, so we use that one instead now.
2020-06-23 07:58:03 +00:00
Ben Felder
b5c8791b85 Cleanup up on tests. 2019-07-11 19:11:29 +02:00
Juan-Pablo Scaletti
1dc41fb6a7 Replace pastel with the good'ol colorama 2019-04-05 17:35:02 -05:00
Juan-Pablo Scaletti
5b52b37662 pathlib.Path ALL the paths! 2019-04-03 23:22:25 -05:00
Juan-Pablo Scaletti
9c9f5e7821 black-styled 2019-03-07 22:07:51 -05:00
Juan-Pablo Scaletti
5cea5d7ac7 Voodoo -> Copier 2019-02-11 22:32:34 -05:00
Juan-Pablo Scaletti
e00a3dc466 voodo_setup 2015-03-26 20:55:50 -05:00
Juan-Pablo Scaletti
3aedca590e flake8 minor fixes
Fitx some PEP8 issues with the code.
Also add a [flake8] section to tox.ini
2015-02-20 11:26:55 -05:00
Juan-Pablo Scaletti
5b10715b33 VCS support 2013-08-17 12:15:54 -05:00
Juan-Pablo Scaletti
157e405e20 Correctly compare the rendered content of the templates (previously it always reported them as different) 2013-07-13 14:47:00 -05:00
Juan-Pablo Scaletti
eceb20dc6b Add stdout output tests 2013-06-30 15:01:13 -05:00