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

Linting project without Dockerfile results in FileNotFoundError #838

Closed
Imipenem opened this issue Nov 30, 2021 · 0 comments · Fixed by #881
Closed

Linting project without Dockerfile results in FileNotFoundError #838

Imipenem opened this issue Nov 30, 2021 · 0 comments · Fixed by #881
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Imipenem
Copy link
Collaborator

Associated Template/Command/Core

Lint
Describe the bug

Running lint on a project, that has no Dockerfile (or any file lint investigates) results in a FileNotFoundError.
To Reproduce

Steps to reproduce the behavior:

  1. Remove Dockerfile from cookietemple project
  2. Run cookietemple with command: lint
  3. See error

Expected behavior

Should result in a lint error, not a traceback.

@Imipenem Imipenem added the bug Something isn't working label Nov 30, 2021
@Imipenem Imipenem self-assigned this Nov 30, 2021
@Zethson Zethson added this to the 1.4.0 milestone Feb 20, 2022
Imipenem added a commit that referenced this issue Feb 20, 2022
- cookietemple does not crash anymore when a Dockerfile is missing
@Imipenem Imipenem linked a pull request Feb 20, 2022 that will close this issue
2 tasks
Zethson pushed a commit that referenced this issue Feb 20, 2022
- cookietemple does not crash anymore when a Dockerfile is missing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants