Skip to content

Get rid of # -*- coding: utf-8 -*-? #11598

@DimitriPapadopoulos

Description

@DimitriPapadopoulos

Description of the problem

UTF-8 is implicit in Python 3.

Is it OK to remove line # -*- coding: utf-8 -*- from Python files?

Steps to reproduce

$ grep -R 'coding: utf-8'
tutorials/epochs/20_visualize_epochs.py:# -*- coding: utf-8 -*-
tutorials/epochs/15_baseline_regression.py:# -*- coding: utf-8 -*-
tutorials/epochs/10_epochs_overview.py:# -*- coding: utf-8 -*-
tutorials/epochs/60_make_fixed_length_epochs.py:# -*- coding: utf-8 -*-
...


### Link to data

_No response_

### Expected results

Remove `# -*- coding: utf-8 -*-` which should be implicit in Python 3 files.

### Actual results

Explicit `# -*- coding: utf-8 -*-` in Python files.

### Additional information

-

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions