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

premerge flake8 #5868

Closed
wyli opened this issue Jan 18, 2023 · 0 comments · Fixed by #5866
Closed

premerge flake8 #5868

wyli opened this issue Jan 18, 2023 · 0 comments · Fixed by #5866
Assignees

Comments

@wyli
Copy link
Contributor

wyli commented Jan 18, 2023

Describe the bug

flake8
6.0.0 (flake8-bugbear: 23.1.17, flake8-comprehensions: 3.10.1,
flake8-executable: 2.1.2, mccabe: 0.7.0, pep8-naming: 0.13.3, pycodestyle:
2.10.0, pyflakes: 3.0.1) CPython 3.8.15 on Linux
/home/runner/work/MONAI/MONAI/monai/apps/auto3dseg/bundle_gen.py:164:29: B907 'config_yaml' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/mmars/mmars.py:229:17: B907 'item.get()' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/mmars/mmars.py:273:17: B907 'model_dir' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/pathology/handlers/prob_map_producer.py:116:26: B907 'name' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/pathology/transforms/post/array.py:135:21: B907 'activation' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/pathology/transforms/post/array.py:140:30: B907 'type()' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/pathology/transforms/post/array.py:783:21: B907 'activation' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/pathology/transforms/post/array.py:788:30: B907 'type()' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/pathology/transforms/post/dictionary.py:207:28: B907 'self.border_key' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/pathology/transforms/post/dictionary.py:[243](https://github.com/Project-MONAI/MONAI/actions/runs/3945820956/jobs/6753050956#step:7:244):28: B907 'self.dist_map_key' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/pathology/transforms/post/dictionary.py:292:28: B907 'self.markers_key' is manually surrounded by quotes, consider using the `!r` conversion flag.
/home/runner/work/MONAI/MONAI/monai/apps/utils.py:147:17: B907 '_basename()' is manually surrounded by quotes, consider using the `!r` conversion flag.
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 a pull request may close this issue.

1 participant