Skip to content

Fix SyntaxWarning in file_path.py#116

Merged
rahulporuri merged 1 commit into
enthought:masterfrom
swt2c:syntaxwarning
Dec 31, 2019
Merged

Fix SyntaxWarning in file_path.py#116
rahulporuri merged 1 commit into
enthought:masterfrom
swt2c:syntaxwarning

Conversation

@swt2c
Copy link
Copy Markdown
Contributor

@swt2c swt2c commented Dec 31, 2019

Fixes this SyntaxWarning:
/usr/lib/python3/dist-packages/apptools/persistence/file_path.py:70: SyntaxWarni
ng: "is not" with a literal. Did you mean "!="?
if os.sep is not '/':

Fixes this SyntaxWarning:
/usr/lib/python3/dist-packages/apptools/persistence/file_path.py:70: SyntaxWarni
ng: "is not" with a literal. Did you mean "!="?
  if os.sep is not '/':
@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 31, 2019

Codecov Report

Merging #116 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #116      +/-   ##
=========================================
+ Coverage   41.67%   41.7%   +0.02%     
=========================================
  Files         240     240              
  Lines        8912    8908       -4     
  Branches     1105    1154      +49     
=========================================
+ Hits         3714    3715       +1     
+ Misses       5044    5042       -2     
+ Partials      154     151       -3
Impacted Files Coverage Δ
apptools/persistence/file_path.py 90.9% <100%> (+3.03%) ⬆️
apptools/logger/agent/quality_agent_mailer.py 0% <0%> (-3.39%) ⬇️
apptools/logger/agent/attachments.py 84.21% <0%> (+6.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5268f4e...7edf8f1. Read the comment docs.

Copy link
Copy Markdown
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the fix!

@rahulporuri rahulporuri merged commit a3889bf into enthought:master Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants