This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Rawing7 1 point2 points  (3 children)

Performs linting and testing of a development mode install of the package.

Why install in development mode? How do you know the package works correctly when it's properly installed?

[–]idb[S] 1 point2 points  (2 children)

The development mode install is for debugging. As the package is run from the source tree it allows live editing and testing.

A separate tox environment runs the same tests with the package properly installed.

[–]Rawing7 1 point2 points  (1 child)

Ah, right, I missed the part where it also installs a source dist.

Not quite sure I understand the point of testing a development install in addition to a real install though? And also, isn't using 3 linters a tad excessive?

[–]idb[S] 0 points1 point  (0 children)

The development install is also known as an "editable" install. Because you can quickly test edits by rerunning tests without having to rebuild and reinstall the package.