Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 895 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 895 Bytes

flake8_global_variables

flake8_global_variables is a plugin for flake8 to lint the python code and show a warning when a global variable is defined, both in a general file or inside a function with the global keyword.

Installation

To make work this plugin you need to have installed flake8 3.0.0 or later and any recent version of python 3. To install the plugin you can run the following commands:

git clone https://github.com/i02sopop/flake8-global-variables
cd flake8-global-variables
sudo python3 setup.py install

License

flake8_global_variables is licensed under the GNU GPLv3. You should have received a copy of the GNU General Public License along with flake8_global_variables. If not, see http://www.gnu.org/licenses/.

GNU GPLv3