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

Fix some more pycharm warnings (in test code). #62

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

caarmen
Copy link
Owner

@caarmen caarmen commented Mar 3, 2024

  • Don't use input as a variable/argument name, as it's a builtin symbol
  • Fix some type hints
  • Fix some unused arguments (when required to be present, prefix the arguments with underscore).
  • Fix some grammar errors
  • Use xyz_factory.create() instead of xyz_factory().
  • Fix lines which are too long
  • Fix regex pattern to match literal parentheses
  • Suppress a pycharm warning about accessing the _meta field of a factory boy factory instance. The field is documented.

* Don't use `input` as a variable/argument name, as it's a builtin symbol
* Fix some type hints
* Fix some unused arguments (when required to be present, prefix the arguments with underscore).
* Fix some grammar errors
* Fix lines which are too long
* Fix regex pattern to match literal parentheses
@caarmen caarmen force-pushed the fix-pycharm-warnings-tests branch from ed03299 to 97619f1 Compare March 3, 2024 22:19
See FactoryBoy/factory_boy#468

PIDD: Pycharm inspection driven development 🤷
@caarmen caarmen force-pushed the fix-pycharm-warnings-tests branch from f78f8e7 to 6e7596d Compare March 3, 2024 22:52
…ry boy factory instance.

This field is documented.
@caarmen caarmen changed the title [WIP 🚧 ] Fix some more pycharm warnings (in test code). Fix some more pycharm warnings (in test code). Mar 5, 2024
@caarmen caarmen marked this pull request as ready for review March 5, 2024 17:51
@caarmen caarmen merged commit f9bb5aa into main Mar 5, 2024
2 checks passed
@caarmen caarmen deleted the fix-pycharm-warnings-tests branch March 5, 2024 17:51
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.

None yet

1 participant