Skip to content

Conversation

@jkimbo
Copy link
Member

@jkimbo jkimbo commented Jun 24, 2019

Updated flake8 config to catch simple errors and help with development.

  • Add some more flake8 plugins (flake8-bugbear and flake8-black)
  • Run black on setup.py
  • Fix some issues raised by new flake8 config

Copy link
Contributor

@phalt phalt left a comment

Choose a reason for hiding this comment

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

👍 nice one

pub_date=datetime.now(),
pub_date_time=datetime.now(),
reporter=r1,
editor=r1,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems out of place, but I am also not sure how Articles were being created with a null editor....

Copy link
Member Author

Choose a reason for hiding this comment

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

@zbyte64 flake8 raised the fact that this test name was the same as another one further down the file and so it was never being run. So when I renamed that test (https://github.com/graphql-python/graphene-django/pull/688/files#diff-42247536fb4398767212e74574263a3bR455) this one started failing because of the missing editor param.

@jkimbo jkimbo merged commit 692540c into master Jun 24, 2019
@jkimbo jkimbo deleted the update-flake8 branch June 24, 2019 17:55
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