yegor256 / cam

Classes and Metriсs (CaM): a dataset of Java classes from public open-source GitHub repositories
http://cam.yegor256.com
MIT License
23 stars 32 forks source link

Corrected the condition to match PEP8 #322

Closed nikzor closed 3 months ago

nikzor commented 3 months ago

In cyclomatic_complexity.py file in repository we get warning from linter: "PEP 8: E501 line too long (129 > 120 characters)" in line 41 https://github.com/yegor256/cam/blob/428b12f04de249ff8f009c2199d9b947695dbf43/metrics/cyclomatic_complexity.py#L41

yegor256 commented 3 months ago

@nikzor this is a good fix, but we must first reproduce the problem in a test. The bug is not in the line of code, but in the build pipeline: we don't have a strong enough static analyzer. Let's configure it first.

yegor256 commented 3 months ago

@nikzor read this please: https://www.yegor256.com/2024/04/01/ping-me-please.html