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

Detect imported packages/modules that are not local nor declared in the requirements #78

Open
louieQ opened this issue Mar 30, 2022 · 0 comments
Assignees
Labels
linting rule A new check performed by pynblint

Comments

@louieQ
Copy link
Collaborator

louieQ commented Mar 30, 2022

Imported packages and modules should either be:

  • local to the project directory or
  • declared in the project requirements file (e.g., requirements.txt or environment.yml).

By using the Python ast package, detect whether a notebook contains imported packages and/or modules that are not local nor declared in a requirements file.

@louieQ louieQ added the linting rule A new check performed by pynblint label Mar 30, 2022
@Felice644 Felice644 self-assigned this Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linting rule A new check performed by pynblint
Projects
None yet
Development

No branches or pull requests

2 participants