Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ pylint --version
- pylint 0.21.1,
- astng 0.20.1, common 0.50.3
- Python 2.6.6 (r266:84292, Jul 10 2013, 22:48:45)
- [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
- pip install pylint
- mkdir C:SomeDirectoryYouWillLeaveAlone
- pip download --dest=C:SomeDirectoryYouWillLeaveAlone pylint
- pip install pylint --find-links=C:SomeDirectoryYouWillLeaveAlone
- $ sudo vim /usr/bin/pylint
- #!/usr/bin/python
- #!/usr/bin/env python
- cp /usr/bin/pylint /usr/local/bin/pylint
- vi usr/local/bin/pylint # Edit the file to use /usr/bin/env python
- alias pylint='/usr/bin/env python $(which pylint)'.
- ./env/bin/python -m pylint ...
- # or in an already active env
- python -m pylint ...
- [scripts]
- lint = "python -m pylint [--options] all-my-modules-names..."
- pipenv run lint
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement