Skip to content

Commit

Permalink
fix compatibility with flake8 6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
xi committed Nov 30, 2022
1 parent 99c3dde commit b6e45b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake8_copyright.py
Expand Up @@ -38,7 +38,7 @@ def add_options(cls, parser):
help="Checks for copyright notices in every file."
)
parser.add_option(
'--copyright-min-file-size', default=0, action='store', type='int',
'--copyright-min-file-size', default=0, action='store', type=int,
parse_from_config=True,
help="Minimum number of characters in a file before requiring a copyright notice."
)
Expand Down

0 comments on commit b6e45b2

Please sign in to comment.