★ wanayoo — archive 1999 https://github.com/theskumar/python-dotenv/commits/masterNouvelle recherche | Portail wanayoo
Skip to content
Permalink
Branch: master
Commits on Mar 14, 2020
  1. Pin mypy==0.761

    ulyssessouza authored and bbc2 committed Mar 12, 2020
    Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
  2. Pin click==7.0 as last working one

    ulyssessouza authored and bbc2 committed Mar 12, 2020
    Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
Commits on Mar 10, 2020
  1. fix coveralls error

    ArtemAngelchev authored and bbc2 committed Mar 5, 2020
Commits on Feb 28, 2020
  1. Release v0.12.0

    bbc2 committed Feb 28, 2020
Commits on Feb 23, 2020
  1. Remove warning when last line is empty

    bbc2 committed Feb 21, 2020
    This also simplifies tests and adds test cases for `set_key`.
Commits on Feb 21, 2020
  1. Update changelog

    bbc2 committed Feb 21, 2020
  2. Fix dotenv run crashes on variable without values

    yannham authored and bbc2 committed Feb 21, 2020
Commits on Feb 15, 2020
  1. Fix escaping of quoted values written by `set_key` (#236)

    bbc2 committed Feb 15, 2020
    * Fix PyPy jobs in CI
    
    * Add test cases for `dotenv.set_key`
    
    * Escape values before quoting in `dotenv.set_key`
Commits on Feb 9, 2020
  1. Update changelog

    bbc2 committed Feb 7, 2020
Commits on Feb 8, 2020
  1. Improve tests

    bbc2 committed Jan 22, 2020
    * Move tests to the right test file (e.g. tests for
      `dotenv.main.get_key` go to `tests.test_main.py`, not
      `tests.test_cli.py`.
    * Check logged warnings for more functions.  For instance, that
      uncovered unexpected extra warnings when passing a non-existent file
      as argument.
    * Remove tests for properties already checked at a lower level.  For
      instance, it's unnecessary to call `get_key` with weird file content
      because that's already tested with the parser.
    * Follow the Act/Arrange/Assert (AAA) pattern.  This clarifies what is
      tested in each test function.  For instance, using this, we test only
      one thing at a time, which makes the test easier to read and potential
      failures easier to interpret.
Commits on Feb 7, 2020
  1. make compatible with pyinstaller

    gergelyk authored and bbc2 committed Nov 21, 2019
  2. Release v0.11.0

    bbc2 committed Feb 7, 2020
Commits on Feb 4, 2020
  1. Add control over interpolation

    ulyssessouza authored and bbc2 committed Jan 29, 2020
    Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
Commits on Jan 28, 2020
  1. Use logging instead of warnings

    bbc2 committed Nov 3, 2019
    Problems with the `warnings` module:
    
    * Undesirable output in tests, although it could be filtered out.
    * Output unsuited for users: shows source code of Python-dotenv.  Users
      don't know what to do with that.
    * Rather meant for programming issues (e.g. deprecation) rather than
      runtime issues (file not found).
    
    Problems with the `logging` module:
    
    * Slightly less easy to test, unlike warnings with
      `catch_warnings(record=True)`, because you need to use the `mock`
      package for compatibility with Python 2.
    
    Despite this last issue, I think it makes more sense to use the
    `logging` module as a base for warnings.
    
    Of course, `logging` is not suited to all forms of output, so this
    change doesn't mean `logging` has to be used everywhere.  For instance,
    if we want to improve the output of the `dotenv` CLI later, we might
    want to use `print`, `click.echo` or other printing facilities.
Commits on Jan 22, 2020
  1. Fix PyPI classifiers

    bbc2 committed Jan 21, 2020
    * Remove Python 3.4.
    * Add Python 2 and 3.
  2. Add CI for Python 3.8

    bbc2 committed Jan 21, 2020
  3. Fix upload to PyPI by Travis CI

    bbc2 committed Jan 21, 2020
    * Add `bdist_wheel` to the uploaded distributions.  This avoids the need
      for pip to run `setup.py` when installing the package, speeding up
      installation and avoiding potential environment issues.
    * `skip_existing` avoids CI failures due to "deploy" tasks being run
      several times by Travis for one tag pushed.
Commits on Jan 21, 2020
  1. Use io.open for py2 compatibility

    altendky authored and bbc2 committed Jan 20, 2020
Commits on Jan 19, 2020
  1. Bump version: 0.10.4 → 0.10.5

    bbc2 committed Jan 19, 2020
  2. Fix handling of lines with just a comment

    bbc2 committed Jan 17, 2020
    A .env file like the following would trigger a warning:
    
        # comment
    
    The problem is that with the previous `Binding` structure, it was
    impossible to distinguish the parsing of such a line and that of a
    malformed line.  Therefore, this commit adds an `error` field so that
    error reporting works correctly in this case.
Commits on Jan 18, 2020
  1. Fix handling of malformed lines

    bbc2 committed Jan 17, 2020
Commits on Jan 17, 2020
  1. Bump version: 0.10.3 → 0.10.4

    bbc2 committed Jan 17, 2020
Commits on Jan 16, 2020
  1. Clarify env var substitution format (#221)

    timhughes authored and theskumar committed Jan 16, 2020
Commits on Jan 15, 2020
  1. Remove Python 3.4 in .travis (EOL mid 2019)

    ulyssessouza authored and bbc2 committed Jan 14, 2020
    Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
  2. Support no value keys

    ulyssessouza authored and bbc2 committed Jan 11, 2020
    Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
Commits on Jan 13, 2020
  1. Print a warning on malformed line

    bbc2 committed Nov 1, 2019
    If a line can't be parsed (e.g. `FOO: BAR` is invalid), it is printed as
    a warning on stderr.
    
    As usual, after such an error, Python-dotenv tries to parse the rest of
    the file and the application can use the successfully parsed variable
    bindings.
  2. Remove useless try/except

    bbc2 committed Nov 1, 2019
Commits on Dec 21, 2019
  1. Minor tweaks

    jpf authored and bbc2 committed Nov 13, 2019
  2. Test without typing

    bbc2 committed Dec 21, 2019
    The dependency on the `typing` package is now optional for Python 3.4.
    This commit runs (part of) the test suite in when that package is
    absent, to make sure the dependency isn't reintroduced accidentally.
  3. Make typing optional (#179)

    techalchemy authored and bbc2 committed Dec 21, 2019
    - Fall back to `collections.namedtuple` for `Binding` when typing is
      not present
    - Add import guards to all imports
    - Fixes #178
    - Add missing coverage config to setup.cfg
Commits on Sep 10, 2019
  1. Update documentation to suite the new documentation site

    theskumar committed Sep 10, 2019
Commits on Jul 21, 2019
  1. Update README.md (minor typos and grammar)

    younglee327 authored and bbc2 committed Jul 18, 2019
    Just wanted to help proofread!
Commits on Jul 9, 2019
  1. Adding Dynaconf to related projects

    rochacbruno authored and bbc2 committed Apr 10, 2019
Commits on Jun 24, 2019
  1. cleanup files

    theskumar committed Jun 24, 2019
Older
You can’t perform that action at this time.