savoirfairelinux / flake8-copyright

Adds copyright checks to flake8
GNU Lesser General Public License v3.0
15 stars 15 forks source link

Support a range of years by default #2

Closed dobesv closed 8 years ago

dobesv commented 8 years ago

The regex for copyright year would be nice if it would support multiple years, e.g. 2015-2016, or 2011,2012,2013

Could be as simple as looking for \d{4}([-,]\d{4})*.

Obviously, end-users can override this themselves but it would be handy if it was the default.