Wemake-python-styleguide: Remove flake8-coding

Created on 22 Feb 2020  路  6Comments  路  Source: wemake-services/wemake-python-styleguide

We need to vendor this dependency to our own codebase:

  • create new violation
  • create new logical check
  • write tests
  • copy configuration

Implementation: https://github.com/tk0miya/flake8-coding/blob/master/flake8_coding.py#L52-L73

Related: #1139

dependencies feature help wanted starter pr-merged

All 6 comments

Is explicit encoding still actual? In Python 3 it's UTF-8 by default, and there is no reason to make it non-UTF.

The default encoding for Python source code is UTF-8

I start to agree with this point. We can completely remove this plugin.

But, I am kind of used to this little line 馃槩
# -*- coding: utf-8 -*-

We're just too old. Soon we'll be changed by the generation that has never seen Python 2 and hacks around encodings :grinning:

Hi! Could I take the issue?

Thanks a lot! Assigned.

@Kvm99 we would also need to remove EmptyLineAfterCodingViolation

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sobolevn picture sobolevn  路  4Comments

sobolevn picture sobolevn  路  4Comments

sobolevn picture sobolevn  路  4Comments

sobolevn picture sobolevn  路  4Comments

hangtwenty picture hangtwenty  路  5Comments