Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add circleci for flake8 #7

Merged
merged 16 commits into from
Dec 6, 2018
Merged

Add circleci for flake8 #7

merged 16 commits into from
Dec 6, 2018

Conversation

leportella
Copy link
Collaborator

No description provided.

- checkout
- run:
name: Installing dependencies
command: sudo pip install -r dev-requirements.txt
Copy link
Member

Choose a reason for hiding this comment

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

You likely want to pip install . here as well. Sudo might not be required if you use --user

Copy link
Contributor

Choose a reason for hiding this comment

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

To expand a little bit:

pip install . will install package in setup.py in current directory (.). Currently the error in CircleCI seems to be:

ModuleNotFoundError: No module named 'jupyterhub'

This is because the JupyterHub package is specified as part of install_requires in setup.py, but not in dev-requirements.txt. setup.py is the correct place for it, but we should use pip to run it before testing here.

@leportella
Copy link
Collaborator Author

@yuvipanda @Carreau I tried using --user but it couldn't install the modules the right way and I continued to have problems. Is it ok to keep using sudo?

@minrk
Copy link
Member

minrk commented Dec 6, 2018

I think it's fine. It can maybe be worked out and removed later, but I don't think it's needed here.

@leportella
Copy link
Collaborator Author

This is full of small and messy commits. Can I merge this way or is it better if I make another cleaner pull-request?

@yuvipanda
Copy link
Contributor

yeah, I think it's fine too.

@leportella I think it's ok to merge as is especially this early in the project.

2 similar comments
@yuvipanda
Copy link
Contributor

yeah, I think it's fine too.

@leportella I think it's ok to merge as is especially this early in the project.

@yuvipanda
Copy link
Contributor

yeah, I think it's fine too.

@leportella I think it's ok to merge as is especially this early in the project.

@leportella leportella merged commit 5cbb3db into master Dec 6, 2018
@leportella leportella deleted the add-circle-ci-config branch December 6, 2018 17:54
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.

4 participants