Jairo Llopis
2ff11656e2
Specific configurations for files that need no EOF
...
Pre-commit by default adds a single `\n` EOF to all files, but we have some tests that make sure that isn't done by Copier itself.
This specific behavior is committed separately to keep track of it. I'm adding an exclusion filter for files named `whatever.noeof.suffix`, and those are skipped by the `end-of-file-fixer` hook.
Also tests had to be changed accordingly. Nothing too special.
2019-12-10 11:45:41 +00:00
Jairo Llopis
fe0c072c83
Skip files and folders if their names evaluate to ""
...
Fix #94 .
2019-11-20 08:15:25 +00:00
Jairo Llopis
f27986b1ee
Ignore $file if $file.tmpl exists
...
Fix #91 .
2019-11-19 13:35:21 +00:00
Juan-Pablo Scaletti
4202cfb172
Merge pull request #82 from pykong/refs
...
Moving reference files to own folder
2019-10-03 15:21:24 -05:00
Ben Felder
94b91857b2
Merge branch 'master' into more_cleanups
2019-10-02 20:16:55 +02:00
Ben Felder
8054f925bb
Moved reference files to tests/reference_files/
2019-09-29 01:49:51 +02:00
Juan-Pablo Scaletti
b5af2c437d
Fix tests
2019-09-26 22:23:23 -05:00
Ben Felder
032a46b318
Using monkeypatch fixture for mocking,
...
Replacing DIY mocking with functionality built-in to pytest.
2019-09-22 20:33:10 +02:00
Ben Felder
edfe66f7f9
Update test_copy.py
2019-09-22 20:08:10 +02:00
Ben Felder
0c6d586a4d
Removed support for JSON and TOML config files.
2019-09-16 21:03:15 +02:00
Ben Felder
b22488ff87
Formatted imports via isort.
2019-09-14 15:11:17 +02:00
Ben Felder
e8159a72f8
Removed some dead code.
2019-09-14 13:54:09 +02:00
Ben Felder
82ddf4adb7
Merged origin/master to solve conflicts.
2019-08-29 22:32:46 +02:00
Ben Felder
69760a583a
Cleaned up imports.
2019-08-08 23:16:47 +02:00
Ben Felder
8dbd7e9661
Some fixes to type annotations.
2019-08-08 21:05:05 +02:00
Ben Felder
72ccdb66ba
Moved config into its own submodule.
2019-07-20 22:55:51 +02:00
Ben Felder
2dddb3805b
WIP - Tests are running green.
2019-07-14 20:46:21 +02:00
Ben Felder
36b0eadbd8
Some more polishing.
2019-07-06 21:07:53 +02:00
Ben Felder
bf635cc24e
Improved name of test function
2019-06-24 09:19:52 +02:00
Juan-Pablo Scaletti
bdeb097848
pre-render skip_if_exists patterns
2019-06-13 23:19:11 -05:00
Juan-Pablo Scaletti
5e008493e8
Add a skip_if_exists option
2019-06-13 21:36:47 -05:00
Juan-Pablo Scaletti
30ffc4dade
special keys in config file are NOT being ignored anymore
...
_exclude, _include, _tasks, and _extra_paths can be loaded from the copier.yml (or alternative) file.
Fix #36 .
I’m ashamed I didn’t noticed this bug before. :(
2019-06-08 23:01:22 -05:00
Juan-Pablo Scaletti
1f6f41a246
Fix py35 issues with pathlib
2019-04-05 10:39:20 -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