945d850139
Update environment.rst
...
Fixed typo (I think).
2017-10-15 17:11:10 -04:00
bad598a4d7
Cast env_dir to string before passing to load_dotenv as passing a PosixPath to load_dotenv raises an exception in 3.5.
2017-10-15 16:52:14 -04:00
d6d063ad43
Updated environment documentation in guides to account for env files.
2017-10-15 16:43:28 -04:00
cb7a18f20f
Added more tests and moved all env and env file testing to classes (it might make more sense to just move them to separate files?).
2017-10-15 16:14:14 -04:00
dc34ab4a8b
Moved env vars tests to class.
2017-10-15 15:49:14 -04:00
84e197b209
Updated .env >>> .env_one to include in repo (.env ignored).
2017-10-15 15:39:23 -04:00
92cc400fe7
[core] Refactoring IOFormats so there is one and only obvious way to send it.
...
This is the commit where I admit that having more than one input/output
format for readers and writers was complicating the code too much for a
very small gain, and that it would be easier to only have one way to do
it.
So such way is now:
- Returning (or yielding) a dict if you have key-value type collections.
- Returning (or yielding) a tuple if you have a list-type collection.
- Returning (or yielding) something else otherwise, which will continue
to work like the old "arg0" format.
IOFORMAT options has been removed in favour of a RemovedOption, which
will complain if you're still trying to set it to anything else than the
one value allowed.
2017-10-15 21:37:22 +02:00
f6d78ceeb5
Set cookiecutter overwrite_if_exists parameter to True if current directory is empty
2017-10-15 16:02:47 +02:00
b0623c77c9
Fixes #186 , probably the whole logic should be refactored as the approach of hardcoding iterators which we should not iterate on is bad. Let's think about it for 0.6, maybe that just means removing the ability to return a list/tuple from a function for multiple rows, as a generator would do the same.
2017-10-15 14:09:57 +02:00
137b1e619b
Merge pull request #191 from hartym/develop
...
Develop
2017-10-13 17:42:43 +02:00
3868dc6e3c
Merge pull request #190 from JasonCrowe/master
...
[doc] fix typos and errors.
2017-10-13 17:36:22 +02:00
78b8a01b75
Merge pull request #189 from mouadhkaabachi/develop
...
comparison to None|True|False should be 'if cond is None:'
2017-10-13 17:35:46 +02:00
dc59c88c3d
[cli/util] fix requires to use the right stack frame, remove --print as "-" does the job
2017-10-13 17:25:42 +02:00
64875a05bd
[cli] Adds a --filter option to "convert" command, allowing to use arbitrary filters to a command line conversion. Also adds --print and "-" output to pretty print to terminal instead of file output.
2017-10-13 17:21:25 +02:00
b1d7498054
[cli] convert, remove useless import.
2017-10-12 19:12:10 +02:00
721ed499bb
[config] adds a __doc__ constructor kwarg to set option documentation inline.
2017-10-12 19:02:11 +02:00
99351a638b
[doc] formating
2017-10-12 19:01:47 +02:00
2898902ebd
[cli] adds ability to override reader/writer options from cli convert.
2017-10-12 19:01:35 +02:00
2532dd1b89
[doc] fix typos and errors.
2017-10-12 11:41:23 -05:00
fe4964b9c7
comparison to None|True|False should be 'if cond is None:'
2017-10-12 17:46:28 +02:00
8174257bd0
Fighting with google analytics properties linked to multiple websites.
2017-10-12 08:20:59 +02:00
53f6cc055f
Fixed bug involved in finding env when running module.
2017-10-11 21:49:39 -04:00
489d22cbcb
Moved default-env-file tests to class.
2017-10-11 20:49:57 -04:00
1aada99596
Small adjustment to test parameters.
2017-10-10 22:56:58 -04:00
af15647ab4
Added tests for running file with combinations of multiple default env files, env files, and env vars. Also reorganized environment directory in examples.
2017-10-10 22:54:31 -04:00
5dac844f0c
Create CREDITS.rst
2017-10-10 11:24:21 +02:00
14a61305bc
Update base.html
2017-10-10 08:47:43 +02:00
0ca766a7b9
Update base.html
2017-10-10 08:39:09 +02:00
0c310543e4
Update base.html
2017-10-10 08:30:03 +02:00
e469ba30ba
Updated requirements.txt and requirements-dev.txt to include python-dotenv and dependencies.
2017-10-08 21:13:51 -04:00
88956ba6fe
default-env-file, default-env, and env-file now in place alongside env. default-env-file and default-env both use os.environ.setdefault so as not to overwrite existing variables (system environment) while env-file and env will overwrite existing variables. All four allow for multiple values (***How might this affect multiple default-env and default-env-file values, I expect that unlike env-file and env the first passed variables would win).
2017-10-08 21:02:31 -04:00
e3125e7e02
Further Refactored the setting of env vars passed via the env flag.
2017-10-08 19:52:25 -04:00
2de72b52bd
Refactored setting of env vars passed via the env flag.
2017-10-08 19:50:15 -04:00
d69a19381e
Merge pull request #183 from cw-andrews/patch-1
...
Update README.rst
2017-10-08 20:22:40 +02:00
6ba7488277
Merge pull request #184 from cw-andrews/patch-2
...
Update faq.rst
2017-10-08 20:22:01 +02:00
8bef85704f
Update faq.rst
...
Spelling, grammar, and wording changes.
2017-10-08 13:54:31 -04:00
59035fd181
Update README.rst
...
English grammar, readability, and spelling corrections (proposed).
2017-10-08 12:47:54 -04:00
3b20a40bb7
[doc] Missing description.
2017-10-08 17:42:48 +02:00
21a38686f6
Merge pull request #182 from hartym/master
...
Update documentation.
2017-10-08 13:25:57 +02:00
f40de8b386
[doc] adds alabaster source
2017-10-08 13:22:21 +02:00
a86d1ddb43
[doc] update RTD deps
2017-10-08 13:16:56 +02:00
7fa9a2be5b
[doc] Updating guides in documentation
2017-10-08 13:13:20 +02:00
736f73d5ce
Update README.rst
2017-10-05 19:49:08 +02:00
48b2616869
Merge tag '0.5.0'
...
0.5.0
2017-10-05 19:27:55 +02:00
32e222787d
release: 0.5.0
2017-10-05 19:16:03 +02:00
ee65cd736b
Update dependencies.
2017-10-05 18:52:53 +02:00
b2f93b2416
[config/dx] bundle a default fs (and http?) service if none is provided ( #179 )
2017-10-05 07:17:16 +02:00
f7cf7ca482
[doc] homepage
2017-10-04 19:14:36 +02:00
c337aad14d
[doc] fix typos and errors.
2017-10-04 08:40:08 +02:00
9fe9b4202d
Merge pull request #181 from TZubiri/develop
...
Inspect: Making id invisible
2017-10-04 07:18:54 +02:00