Skip to content

Commit

Permalink
MNT: Update ignores for flake8-print
Browse files Browse the repository at this point in the history
They changed codes from T0XX to T2XX.
  • Loading branch information
dopplershift committed May 2, 2022
1 parent 35a7c96 commit e06908f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@ docstring-convention = numpy
exclude = docs build src/metpy/io/_metar_parser/metar_parser.py
select = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z B902
ignore = F405 W503 RST902 SIM106
per-file-ignores = examples/*.py: D MPY001 T003 T001
tutorials/*.py: D MPY001 T003 T001
per-file-ignores = examples/*.py: D MPY001 T003 T201
tutorials/*.py: D MPY001 T003 T201
src/metpy/deprecation.py: C801
src/metpy/calc/*.py: RST306
src/metpy/interpolate/*.py: RST306
src/metpy/io/*.py: RST306
src/metpy/future.py: RST307
src/metpy/constants/*.py: RST306
docs/doc-server.py: T001
docs/doc-server.py: T201
tests/*.py: MPY001
ci/filter_links.py: E731 T001
ci/filter_links.py: E731 T201

[flake8:local-plugins]
extension = MPY = flake8_metpy:MetPyChecker
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Python {py} detected.
""".format(py='.'.join(str(v) for v in sys.version_info[:3]))

print(error) # noqa: T001
print(error) # noqa: T201
sys.exit(1)

setup(use_scm_version={'version_scheme': 'post-release'})
2 changes: 1 addition & 1 deletion tools/nexrad_msgs/parse_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def write_file(fname, info):

for num in [18, 3]:
fname = 'msg{:d}.spec'.format(num)
print(f'Processing {fname}...') # noqa: T001
print(f'Processing {fname}...') # noqa: T201
info = processors[num](fname)
fname = Path(fname).with_suffix('.py')
write_file(fname, info)

0 comments on commit e06908f

Please sign in to comment.