flake8: Add flake8-copyright plugin.

Adds copyright checks to flake8
https://pypi.python.org/pypi/flake8-copyright/
This commit is contained in:
Florian Bruhin 2016-01-22 17:46:33 +01:00
parent 3a7ced5843
commit 8bdb1b6b14
4 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,7 @@
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2014-2016 Florian Bruhin (The-Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify

View File

@ -1,5 +1,7 @@
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2014-2016 Florian Bruhin (The-Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify

View File

@ -31,3 +31,6 @@ putty-ignore =
/# flake8: disable=N803/ : +N803
/# flake8: disable=T002/ : +T002
/# flake8: disable=F841/ : +F841
copyright-check = True
copyright-regexp = # Copyright [\d-]+ .*
copyright-min-file-size = 110

View File

@ -157,6 +157,7 @@ deps =
pep8-naming==0.3.3
flake8-putty==0.2.0
ebb-lint==0.4.3
flake8-copyright==0.1
mccabe==0.3.1
pep8==1.7.0
pyflakes==1.0.0