Skip to content

Conversation

@kotfu
Copy link
Member

@kotfu kotfu commented Apr 27, 2018

From a discussion on review of PR #370, @anselor suggested we move constants into a separate file. I am using relative imports to keep the namespace clean and tidy.

@kotfu kotfu self-assigned this Apr 27, 2018
@kotfu kotfu requested a review from tleonhardt as a code owner April 27, 2018 16:12
@codecov
Copy link

codecov bot commented Apr 27, 2018

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #374      +/-   ##
==========================================
+ Coverage   90.91%   90.93%   +0.02%     
==========================================
  Files           3        5       +2     
  Lines        2245     2251       +6     
==========================================
+ Hits         2041     2047       +6     
  Misses        204      204
Impacted Files Coverage Δ
cmd2/cmd2.py 90.79% <100%> (-0.02%) ⬇️
cmd2/constants.py 100% <100%> (ø)
cmd2/utils.py 100% <100%> (ø)

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 a934373...bed0b6b. Read the comment docs.

import pyparsing
import pyperclip

from . import constants
Copy link
Member

Choose a reason for hiding this comment

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

I like this cleanup.

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