Skip to content

Commit

Permalink
Fix arguments in call to define-obsolete-variable-alias
Browse files Browse the repository at this point in the history
Use date and message from the commit that introduced the deprecation.

Fix msherry#59
  • Loading branch information
lbolla committed Apr 14, 2021
1 parent e8ce874 commit 4e6b927
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flycheck-pycheckers.el
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ Can be further customized via the \".pycheckers\" config file."
(repeat :tag "Codes (overrides config files)" (string :tag "Error/Warning code"))
(const :tag "Don't ignore any errors (report everything). Overrides config files." none)))

(define-obsolete-variable-alias 'flycheck-pycheckers-enabled-codes 'flycheck-pycheckers-enable-codes)
(define-obsolete-variable-alias 'flycheck-pycheckers-enabled-codes 'flycheck-pycheckers-enable-codes "2017-12-08"
"Consistently use 'ignore' and 'enable'")
(flycheck-def-option-var flycheck-pycheckers-enable-codes
'("W0613")
python-pycheckers
Expand Down

0 comments on commit 4e6b927

Please sign in to comment.