6419 ) |
6419 ) |
6420 |
6420 |
6421 # now check ourselves |
6421 # now check ourselves |
6422 fn = self.getFileName() |
6422 fn = self.getFileName() |
6423 if fn is not None: |
6423 if fn is not None: |
6424 prEnable |= self.project.isPy3Project() and bool( |
6424 prEnable |= self.isPyFile() and bool(Utilities.getProfileFileName(fn)) |
6425 Utilities.getProfileFileName(fn) |
6425 coEnable |= self.isPyFile() and bool(Utilities.getCoverageFileName(fn)) |
6426 ) |
|
6427 coEnable |= self.project.isPy3Project() and bool( |
|
6428 Utilities.getCoverageFileName(fn) |
|
6429 ) |
|
6430 |
6426 |
6431 coEnable |= bool(self.__coverageFile) |
6427 coEnable |= bool(self.__coverageFile) |
6432 |
6428 |
6433 # now check for syntax errors |
6429 # now check for syntax errors |
6434 if self.hasSyntaxErrors(): |
6430 if self.hasSyntaxErrors(): |