6493 ) |
6493 ) |
6494 |
6494 |
6495 # now check ourselves |
6495 # now check ourselves |
6496 fn = self.getFileName() |
6496 fn = self.getFileName() |
6497 if fn is not None: |
6497 if fn is not None: |
6498 prEnable |= self.project.isPy3Project() and bool( |
6498 prEnable |= self.isPyFile() and bool(Utilities.getProfileFileName(fn)) |
6499 Utilities.getProfileFileName(fn) |
6499 coEnable |= self.isPyFile() and bool(Utilities.getCoverageFileName(fn)) |
6500 ) |
|
6501 coEnable |= self.project.isPy3Project() and bool( |
|
6502 Utilities.getCoverageFileName(fn) |
|
6503 ) |
|
6504 |
6500 |
6505 coEnable |= bool(self.__coverageFile) |
6501 coEnable |= bool(self.__coverageFile) |
6506 |
6502 |
6507 # now check for syntax errors |
6503 # now check for syntax errors |
6508 if self.hasSyntaxErrors(): |
6504 if self.hasSyntaxErrors(): |