isort not properly working in course discovery

Description

isort does not properly work in the course discovery container, but does work on travis. To illustrate what I mean:

After only running `make discovery-shell` in the devstack repository:

Then I tried the exact command being run in Travis:

However, if I'm outside of the container and run

it will correctly run the quality command.

It would be great to be able to run the make quality command inside of the shell again so all testing and quality checks can be done in the same place.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Activity

Show:
Dillon Dumesnil
June 13, 2019, 1:01 AM

Environment variables outside of container:

In the container without running any source of the environment:

In the container after sourcing the discovery env:

Assignee

Unassigned

Reporter

Dillon Dumesnil

Labels

None

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Story Points

1

Priority

Unset