Skip to content

_SELF name should not trigger WPS117 #3310

@sobolevn

Description

@sobolevn
server/settings/components/csp.py

  11:1     WPS117 Found name reserved for first argument: _SELF
  _SELF = "'self'"
  ^

We also need to check names like _Self and Self, they should be fine.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueEntrypoint to the projecthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions