diff --git a/slither/detectors/naming_convention/naming_convention.py b/slither/detectors/naming_convention/naming_convention.py index 6c72f4438..f1f35507c 100644 --- a/slither/detectors/naming_convention/naming_convention.py +++ b/slither/detectors/naming_convention/naming_convention.py @@ -92,6 +92,8 @@ Solidity defines a [naming convention](https://solidity.readthedocs.io/en/v0.4.2 results.append(json) for func in contract.functions_declared: + if func.is_constructor: + continue if not self.is_mixed_case(func.name): if func.visibility in ['internal', 'private'] and self.is_mixed_case_with_underscore(func.name): continue