Comments (10)
@smfn3321 what do yo uthing?
from coala.
@cw1 your opinion would help too, if you need any context, feel free to mail me
from coala.
By the way this is the reason for the weird coverage in #124. What happened was: every python file lying in the coala directory got imported. Since the setup.py and TestHelper are not on any ignore list for coverage (since they never get executed with coverage) their coverage gets measured by only importing them. (And thats a bad coverage since not even the main method gets executed but module code only.)
from coala.
this will be fixed with https://github.com/sils1297/coala/pull/126
from coala.
I like to prefer your first point (an empty coafile doesn't do anything).
If the user want to costumize his coala test suite he has to adjust the config. Maybe we could distribute an example coafile where every option is commented out or set to empty (and explained with comments of course)
from coala.
created #136
So we agree that it never makes sense to use all bears because there is probably no file where all of them are applicable?
from coala.
No, because all bears is not system wide but can still be defined by the use of the bear directorie parameters.
For me this seems preferable because otherwise it will be hard to select a large amount oft
bears if they are wanted.
Also Please note that we can ignore bears, which is helpful if all bears could be taken, but useless if every bear to be used has to be listed on its own.
from coala.
In the typical usecase you don't want to care about the beardirectories. You want to use the bears shipped with coala so this directory is available by default.
I'd group large amounts of bears, e.g. you can import all bears for PEP8 python into a PEP8.py so it looks like
from coala.bears import PythonSpacingBear
from coala.bears import PythonIndentationBear
# and so on
then when we collect this file we'd automatically import all these bears and have a natural, pythonic, way of grouping bears.
I think we should ignore bear ignoration, if this is rendered useless by this action then its even better because it reduces complexity for the user.
from coala.
"In the typical usecase you don't want to care about the beardirectories"
If this is your point of view, I guess we might as well change the user interaction in a couple of ways. We really should talk about this in person, but right now I think of:
- removing bear directory management completely
- specifying custom bears by path/file
- introducing meta-bears that can be handled like normal bears but actually import a group of bears.
from coala.
This is already discussed and merged.
from coala.
Related Issues (20)
- test pipeline of travis.ci broken HOT 1
- Update URL of Travis CI in Adding_CI.rst HOT 3
- autopep8 section of .coafile fails
- Uniform string formatting HOT 18
- Required changes to sync moban HOT 1
- Throughput Graph in README needs to be updated HOT 2
- Link Does not exist HOT 3
- Add pytest to requirements.txt HOT 13
- Travis build failure due to setuptools-git HOT 2
- BuildManPage.py: Invalid syntax HOT 2
- Please invite me to the GitHub Community Organization
- Please invite me to the GitHub Community Organization
- I'm interested in joining coal and would love to contribute in your work.
- " An unknown error occurred. This is a bug. We are sorry for the inconvenience. Please contact the developers"
- Broken search
- cib not working, source code cannot be found
- Project dependencies have API risk issues
- ImportError: cannot import name 'Iterable' from 'collections' HOT 3
- Unable to use CheckstyleBear in .coafile
- Is this project still under maintaining? HOT 1
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 coala.