Comments (6)
flake8 is awesome!
However, I was not able to run it using the command provided in the README:
flake8 --ignore N802,N806 `find . -name *.py | grep -v setup.py | grep -v /doc/`
and also not when removing the (unintentional?) extra backticks:
flake8 --ignore N802,N806 find . -name *.py | grep -v setup.py | grep -v /doc/
It gives me this error:
Usage: flake8 [options] input ...
flake8: error: no such option: -n
But it runs fine if I just do this:
flake8 --ignore N802,N806 *.py | grep -v setup.py | grep -v /doc/
Not sure if its a typo in the README (I'm happy to submit a PR if so) or if its just me...
Thanks for this resource @arokem! Super helpful.
from shablona.
Just a guess here: should that be a --
before the name
(two dashes
instead of one)?
On Wed, Feb 10, 2016 at 7:06 PM, Jes Ford [email protected] wrote:
flake8 is awesome!
However, I was not able to run it using the command provided in the README:
flake8 --ignore N802,N806
find . -name *.py | grep -v setup.py | grep -v /doc/
and also not when removing the (unintentional?) extra backticks:
flake8 --ignore N802,N806 find . -name *.py | grep -v setup.py | grep -v /doc/
It gives me this error:
Usage: flake8 [options] input ...
flake8: error: no such option: -n
But it runs fine if I just do this:
flake8 --ignore N802,N806 *.py | grep -v setup.py | grep -v /doc/
Not sure if its a typo in the README (I'm happy to submit a PR if so) or
if its just me...Thanks for this resource @arokem https://github.com/arokem! Super
helpful.—
Reply to this email directly or view it on GitHub
#11 (comment).
from shablona.
No, that gives me the same error. Does it work for you?
from shablona.
Sorry - was really just guessing.
This does work for me (but might not work inside the Travis setup -- I
think that's what the README refers to?)
flake8 --ignore N802,N806 shablona/*.py
(issued from the top level repo directory).
On Wed, Feb 10, 2016 at 7:14 PM, Jes Ford [email protected] wrote:
No, that gives me the same error. Does it work for you?
—
Reply to this email directly or view it on GitHub
#11 (comment).
from shablona.
Hi Jes,
Escaping the * might work:
find . -name _.py should probably be
find . -name _.py
The backticks are meant to run the find command and locate the *.py within
directories and then run flake 8 on that list. So, I think you could simply
run the flake8 command on an explicit file list to see if it is the flake8
command that is a problem or building the list of files.
Thanks,
Rahul
On Wed, Feb 10, 2016 at 7:22 PM, Ariel Rokem [email protected]
wrote:
Sorry - was really just guessing.
This does work for me (but might not work inside the Travis setup -- I
think that's what the README refers to?)flake8 --ignore N802,N806 shablona/*.py
(issued from the top level repo directory).
On Wed, Feb 10, 2016 at 7:14 PM, Jes Ford [email protected]
wrote:No, that gives me the same error. Does it work for you?
—
Reply to this email directly or view it on GitHub
<#11 (comment)
.—
Reply to this email directly or view it on GitHub
#11 (comment).
from shablona.
Thanks @rbiswas4 that works perfect!
from shablona.
Related Issues (20)
- pdoc as a documentation option HOT 1
- Is there an example of readthedocs using conda installs?
- Does the shablona project structure allow for running a script as the main program? HOT 1
- New breakage when testing on Mac HOT 1
- Add a readme.md => readme.rst converter using pypandoc
- Don't recommend travis cacheing for conda HOT 2
- Refresh doc section (and integrate with Docathon Sphinx template)
- Not able to import shablona in Figure1.ipynb HOT 1
- Shablona website broken? HOT 2
- Why not fork and clone? HOT 2
- Conda dependencies from multiple channels HOT 1
- Add CircleCI support HOT 1
- See if there's anything useful here: https://github.com/kennethreitz/setup.py
- Best-practice for package version.py and setup.py
- Simplify travis config
- Add data directory as variable in shablona namespace
- Deprecate in favor of this cookiecutter? HOT 1
- make as template repository HOT 2
- requirements.txt doesn't match the requirements of the default code
- make an introductory video
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shablona.