Skip to content

Commit 3a21f84

Browse files
committed
Merge remote-tracking branch 'official/master' into parse_stream
2 parents 4c52dc1 + 6eb1698 commit 3a21f84

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.travis.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ install:
1212
- pip install -q -r requirements.txt
1313
- pip install --editable .
1414
script:
15-
- pytest -v --tb=native --cov --flake8
15+
- flake8 .
16+
- pytest -v --tb=native --cov
1617
after_success:
1718
- coveralls
1819
deploy:

‎README.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ production using `12-factor <http://12factor.net/>`__ principles.
2222
- `Command-line interface <#command-line-interface>`__
2323
- `iPython Support <#ipython-support>`__
2424
- `Setting config on remote servers <#setting-config-on-remote-servers>`__
25-
- `Related Projects <#releated-projects>`__
25+
- `Related Projects <#related-projects>`__
2626
- `Contributing <#contributing>`__
2727
- `Changelog <#changelog>`__
2828

@@ -269,6 +269,7 @@ Related Projects
269269
- `django-dotenv <https://github.com/jpadilla/django-dotenv>`__
270270
- `django-environ <https://github.com/joke2k/django-environ>`__
271271
- `django-configuration <https://github.com/jezdez/django-configurations>`__
272+
- `dump-env <https://github.com/sobolevn/dump-env>`__
272273

273274
Contributing
274275
============

‎dotenv/main.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def parse_dotenv(dotenv_path=None, stream=None):
111111
k, v = k.strip(), v.strip().encode('unicode-escape').decode('ascii')
112112

113113
if len(v) > 0:
114-
quoted = v[0] == v[len(v) - 1] in ['"', "'"]
114+
quoted = v[0] == v[-1] in ['"', "'"]
115115

116116
if quoted:
117117
v = decode_escaped(v[1:-1])

‎requirements.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ sh>=1.09
44
bumpversion
55
wheel
66
pytest-cov
7-
pytest-flake8
87
click
98
ipython

0 commit comments

Comments
 (0)