Skip to main content
21 events
when toggle format what by license comment
Apr 28, 2024 at 23:01 answer added Cees Timmerman timeline score: 1
Jan 10, 2020 at 15:22 comment added Pieter B I'm voting to close this question as off-topic because it's specific to one language.
Jan 9, 2020 at 17:55 review Close votes
Jan 20, 2020 at 3:05
Jan 9, 2020 at 17:37 history protected gnat
Jan 9, 2020 at 12:38 answer added Gaetano Barreca timeline score: 2
Jan 6, 2020 at 19:41 comment added noobninja As mentioned above, ...should live inside functions. Once the UPPERCASE variable names are relocated inside a function, they will probably trigger another error message like this: Variable name "FOO" doesn't conform to snake_case naming style (invalid-name). To resolve that error, they will need to be changed back to lowercase.
Mar 20, 2018 at 21:06 review Close votes
Mar 29, 2018 at 3:01
Feb 21, 2017 at 15:33 vote accept Abhishek Kumar
Feb 21, 2017 at 12:30 history tweeted twitter.com/StackSoftEng/status/834017531874705410
Feb 21, 2017 at 1:19 comment added Abhishek Kumar @WinstonEwert At the top level and after following PyLint's instructions.
Feb 20, 2017 at 19:39 answer added Winston Ewert timeline score: 46
Feb 20, 2017 at 19:25 comment added Winston Ewert @AbhishekKumar, is your code in a function, or at the top level?
Feb 20, 2017 at 15:53 comment added Abhishek Kumar @WinstonEwert NOTES_DIRECTORY = argv[1] chdir(NOTES_DIRECTORY) FILES = glob('*.txt') RAND_FILE = choice(FILES) with open(RAND_FILE) as notes_file: POINTS = notes_file.readlines() RAND_POINT = choice(POINTS)
Feb 16, 2017 at 17:26 comment added Winston Ewert can you show us a sample of your code that pylint thinks are constants?
Feb 16, 2017 at 17:11 answer added Jonathan Eunice timeline score: 25
Feb 16, 2017 at 15:18 answer added alain.janinm timeline score: 3
Feb 16, 2017 at 14:16 review Close votes
Feb 21, 2017 at 3:04
Feb 16, 2017 at 14:09 comment added RemcoGerlich If most of your variables are module-level constants, you're probably doing something unusual. Most of them should live inside functions.
Feb 16, 2017 at 14:01 answer added Thomas Junk timeline score: 35
Feb 16, 2017 at 13:47 review First posts
Feb 20, 2017 at 13:11
Feb 16, 2017 at 13:46 history asked Abhishek Kumar CC BY-SA 3.0