OLD | NEW |
1 # This file is part of Adblock Plus <https://adblockplus.org/>, | 1 # This file is part of Adblock Plus <https://adblockplus.org/>, |
2 # Copyright (C) 2006-present eyeo GmbH | 2 # Copyright (C) 2006-present eyeo GmbH |
3 # | 3 # |
4 # Adblock Plus is free software: you can redistribute it and/or modify | 4 # Adblock Plus is free software: you can redistribute it and/or modify |
5 # it under the terms of the GNU General Public License version 3 as | 5 # it under the terms of the GNU General Public License version 3 as |
6 # published by the Free Software Foundation. | 6 # published by the Free Software Foundation. |
7 # | 7 # |
8 # Adblock Plus is distributed in the hope that it will be useful, | 8 # Adblock Plus is distributed in the hope that it will be useful, |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 failed = True | 95 failed = True |
96 | 96 |
97 if failed: | 97 if failed: |
98 sys.exit(1) | 98 sys.exit(1) |
99 | 99 |
100 | 100 |
101 setup( | 101 setup( |
102 name='flake8-eyeo', | 102 name='flake8-eyeo', |
103 version='0.1', | 103 version='0.1', |
104 py_modules=['flake8_eyeo'], | 104 py_modules=['flake8_eyeo'], |
| 105 install_requires=['flake8>=3.2.1'], |
105 entry_points={ | 106 entry_points={ |
106 'flake8.extension': [ | 107 'flake8.extension': [ |
107 'A = flake8_eyeo:ASTChecker', | 108 'A = flake8_eyeo:check_ast', |
108 'A1 = flake8_eyeo:check_quotes', | 109 'A1 = flake8_eyeo:check_quotes', |
109 'A111 = flake8_eyeo:check_redundant_parenthesis', | 110 'A111 = flake8_eyeo:check_redundant_parenthesis', |
110 'A303 = flake8_eyeo:check_non_default_encoding', | 111 'A303 = flake8_eyeo:check_non_default_encoding', |
111 ], | 112 ], |
112 }, | 113 }, |
113 cmdclass={'test': TestCommand} | 114 cmdclass={'test': TestCommand} |
114 ) | 115 ) |
OLD | NEW |