Skip to content

Coala #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Coala #28

wants to merge 3 commits into from

Conversation

darthgera123
Copy link

NOTE:

  • Please fill out the template below

    • [. ] Did you read the instructions in the WORKFLOW ?

    • [. ] Is your Python code styled according to the PEP8 code style convention as mentioned here ?

    • [. ] Have you run the tests ?

    • [. ] Have you followed commit guidelines as mentioned here ?
      This adds the coafile and a small guide to working with coala and solves issue Set up static code analysis #12

@darthgera123
Copy link
Author

hello anybody?

Copy link
Contributor

@satwikkansal satwikkansal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@darthgera123 Nice work, just a few minor changes requested :) Ping me here once addressed.


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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.coafile should be in codespace like .coafile

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.coafile is there in the codespace. This is just the documentation

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing a space, "coala. It can..."

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And it should it with working with coala or working with wtfpython-web?

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code highlight --files

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw we don't need --files argument

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you just need to run coala, and since .coafile is already present, settings would be supplied from there.

So instead of this section, you should add instructions to install coala using pip, and use it inside the project directory!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay will do

You can also run coala in non interactive mode
`coala --non-interactive`

###Auto-applying results
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of asking user to supply the flags, you can add default_actions in the .coafile.

Example: https://github.com/coala/coala-quickstart/blob/master/.coafile#L25

So adding this default section to the all section should do the job for us!

`coala --non-interactive`

###Auto-applying results
Coala includes a special setting called default_actions that allows you to set the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this would no longer be needed one we add default action. We just need the instructions to install and run coala, that's all.

All the other changes should be made to .coafile which the other developers on wtfpython-web need not to worry about.

@realslimshanky
Copy link

@darthgera123 please squash your commits and update the issue description to make it more informative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
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