Skip to content

samety/flake8-logging-arg-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flake8-logging-arg-count

flake8 plugin that checks if the number of arguments is inline with the number of %s placeholders.

  • For example:
    • This is OK
      logging.warning('My message %s', x)

    • These will trigger LAC101
      logging.warning('My message %s', x, y)
      logging.warning('My message %s %s', x)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages