Skip to content

Commit

Permalink
change the code to W0001 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
emredogan7 authored Jun 30, 2021
1 parent cd9dc73 commit ca7e795
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions datetime_now.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# pylint: disable=W0001

from pylint.interfaces import IAstroidChecker
from pylint.checkers import BaseChecker

Expand Down Expand Up @@ -26,8 +28,7 @@ class DateTimeNowChecker(BaseChecker):

name = 'datetime_now'
msgs = {
# defining a custom code so we ensure no conflicts in the future.
'PLT0001': (
'W0001': (
DATETIME_NOW_MESSAGE,
DATETIME_NOW,
DATETIME_NOW_HELP,
Expand Down

0 comments on commit ca7e795

Please sign in to comment.