diff --git a/.coafile b/.coafile new file mode 100644 index 0000000..b573a8f --- /dev/null +++ b/.coafile @@ -0,0 +1,12 @@ +# Generated by coala-quickstart on 27 Jun 2018. +[all] +bears = coalaBear, FilenameBear, LineCountBear, InvalidLinkBear +files = **.py, **.md +max_lines_per_file = 100 +[all.python] +bears = DocGrammarBear, PycodestyleBear, DocumentationStyleBear +files = **.py +language = all.python +[all.markdown] +bears = TextLintBear, MarkdownBear +files = **.md diff --git a/coala_use.md b/coala_use.md new file mode 100644 index 0000000..5ece04a --- /dev/null +++ b/coala_use.md @@ -0,0 +1,29 @@ +#Coala + +This is a guide on how to use coala-bears for this project + +This project consists of a .coafile which basically has all the guidelines +that needs to be followed when working with coala.It can modified. + +In order to specify the files to analyze, you can use the --files argument. +For all file paths, you can specify (recursive) globs. + +`coala --files=src/\*.c --bears=SpaceConsistencyBear --save` + +Coala will now ask you for missing values that are needed to perform the analysis. +Coala will now check the code and, in case there are errors it will be duly pointed out. +You can also run coala in non interactive mode +`coala --non-interactive` + +###Auto-applying results +Coala includes a special setting called default_actions that allows you to set the +action for a bear that shall be automatically applied on run. It has a command line +alias --apply-patches to make it easier to use. +For eg +`coala -S python.bears=PEP8Bear python.files=\*\*/\*.py --apply-patches --save` +This command would automatically fix all your issues in python files. + +###Help +To know more about Coala you could do the following +`coala -h` +To follow the documentation follow the [link](https://docs.coala.io/en/latest/Users/Tutorial.html) \ No newline at end of file pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy