Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: theskumar/python-dotenv
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.21.0
Choose a base ref
...
head repository: theskumar/python-dotenv
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.21.1
Choose a head ref
  • 15 commits
  • 14 files changed
  • 9 contributors

Commits on Sep 18, 2022

  1. Configuration menu
    Copy the full SHA
    cedd36d View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Update __init__.py

    fstring
    Praveensenpai authored and bbc2 committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    718307b View commit details
    Browse the repository at this point in the history
  2. Fix out of scope error when "dest" variable is undefined

    Fixes #413 whereby the NamedTemporaryFile "dest" was out of scope in the
    error handling portion of rewrite.
    
    The problem was initially fixed in #414 but it got reverted because of a
    linter error. This new commit works around that linter error.
    theGOTOguy authored and bbc2 committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    1ecb57d View commit details
    Browse the repository at this point in the history
  3. Use 3.11 non-beta in CI

    bbc2 committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    7e199c3 View commit details
    Browse the repository at this point in the history
  4. Modernize some code in variables.py

    Nougat-Waffle authored and bbc2 committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    00cc7ae View commit details
    Browse the repository at this point in the history
  5. Modernize main.py and parser.py code

    Nougat-Waffle authored and bbc2 committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    cadf4fc View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2022

  1. Fix IPython test warning about deprecated magic

    IPython would complain about:
    
        DeprecationWarning: `magic(...)` is deprecated since IPython 0.13
        (warning added in 8.1), use run_line_magic(magic_name, parameter_s).
    bbc2 committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    c22bc50 View commit details
    Browse the repository at this point in the history
  2. Use f-strings, make some code more concise and change docstrings to d…

    …ouble quotes according to PEP257
    Nougat-Waffle authored and bbc2 committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    ceca48c View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Fix typo

    Michael V. DePalatis authored and bbc2 committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    025f762 View commit details
    Browse the repository at this point in the history
  2. Improve error message for get and list commands

    The error message would previously be confusing. For example, `dotenv -f
    . list` would print:
    
        Error: Invalid value: Path "." does not exist.
    
    Instead, we now print:
    
        Error opening env file: [Errno 21] Is a directory: '.'
    
    I used this opportunity to slightly refactor the I/O code (e.g. fewer
    system calls and possible race conditions) for those two subcommands
    (`get` and `list`).
    bbc2 committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    7dc2492 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Configuration menu
    Copy the full SHA
    f75103c View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Fix type hint for dotenv_path var, add StrPath alias (#432)

    * Fix type hint for load_dotenv
    
    Fixes #431
    
    * Quote type hints to avoid runtime errors in earlier Python versions
    
    * Revise type of dotenv_path parameter
    
    Based on PR feedback and typeshed's type hint for the built-in open()
    function:
    https://github.com/python/typeshed/blob/e2d67bf7034f68c07bd35150247e58e0817725d9/stdlib/builtins.pyi#L1421
    
    * Allow only string paths, not byte paths
    
    These paths can flow into `shutil.move`, which does not accept byte
    paths or (int) file descriptors.  See python/typeshed#6832
    
    * Create a type alias for the paths this library accepts
    
    And use it consistently in main.py.
    eaftan authored Jan 11, 2023
    Configuration menu
    Copy the full SHA
    09cf4ab View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. Configuration menu
    Copy the full SHA
    a18ea18 View commit details
    Browse the repository at this point in the history
  2. Add changelog for 0.21.1

    theskumar committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    b84bccd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5317a56 View commit details
    Browse the repository at this point in the history
Loading