---
source: crates/ruff_linter/src/rules/pyupgrade/mod.rs
---
UP009 [*] UTF-8 encoding declaration is unnecessary
 --> UP009_utf8_code_other.py:1:1
  |
1 | # -*- coding: utf8 -*-
  | ^^^^^^^^^^^^^^^^^^^^^^
2 | print("the following is not a coding comment")
3 | # -*- coding: ascii -*-
  |
help: Remove unnecessary coding comment
  |
  - # -*- coding: utf8 -*-
1 | print("the following is not a coding comment")
  |
