Skip to content

Commit

Permalink
# This is a combination of 2 commits.
Browse files Browse the repository at this point in the history
# The first commit's message is:

# This is a combination of 12 commits.
# The first commit's message is:
# This is a combination of 5 commits.
# The first commit's message is:
# This is a combination of 2 commits.
# The first commit's message is:

# This is a combination of 3 commits.
# The first commit's message is:
__main__.py: Invokes coala as module

This allow coala to be invoked as a module by
using the -m tag.

Closes coala#5667

# This is the 2nd commit message:

ConfigurationGathering.py: Document functions

Documents get_all_bears and get_filtered_bears
stating their unsorted nature of result.

Closes coala#5654

# This is the 3rd commit message:

Collectors.py: Document functions

Documents collect_bears, collect_bear_by_aspects,
get_all_bears, get_all_bears_names and
collect_all_bears_from_sections stating their
unsorted nature of result.

Closes coala#5654

# This is the 2nd commit message:

languages: Add missing language imports

This adds missing language imports to `__init__.py` of
`languages`.

# This is the 2nd commit message:

aspects: Default languages=all when using aspects

This ensures that there is no need to pass `languages` argument
for bears supporting all languages by using a tuple containing
all language instances as default for bears when they are run
via aspects or both aspects and settings.

Closes coala#5655

# This is the 3rd commit message:

coalaTest: Remove unnecessary second patch

This may have been necessary when autocompletion
was first added, but it is not needed any longer,
and the function being patches needs to be
removed.

Closes coala#5671
Related to coala#5664

# This is the 4th commit message:

DefaultArgParser: Restructure argcomplete support

Use a global symbol for the import, to avoid
multiple invocations of `import` and so that
the optional import can be tested, adding
coverage of that scenario using a mock import.

Also avoid the lambda in order to have coverage
of that line.

Delay loading of coalib.collecting.Collectors
as default_arg_parser is called from setup.py,
and coala-utils may not be installed yet.

Add test cases which exercise the possibilities
of unavailable imports.

Related to coala#4166
Related to coala#5664

# This is the 5th commit message:

Constants: Move USER_DATA_DIR to CachingUtilities

USER_DATA_DIR depends on library appdirs, which must not be
imported during argument parsing otherwise the manpage builder
can not load the argparser during setup.

It is only used from CachingUtilities, so it has been moved
there.
However for backwards compatibility, CachingUtilities sets
USER_DATA_DIR when it loads.

Fixes coala#5664

# This is the 2nd commit message:

Debug_bears.rst: Add Debugger Settings docs

Related to coala#1101

# This is the 3rd commit message:

VisualBasic: Add `max_line_length`

Some langauges have language specific line length restriction.
This adds `max_line_length` restriction for VB.

# This is the 4th commit message:

setup.py: Sync

# This is the 5th commit message:

.circleci/: Install test-requirements.txt first

test-requirements.txt contains overrides needed to ensure
pip installs suitable versions of dependencies, especially
of pip.

Also move pytest before installing dependencies of coala-ci.

# This is the 6th commit message:

requirements.txt: Add versions to VCS egg names

setuptools can verify that an appropriate version was
installed from the VCS, when the VCS link provides
a version in the egg name.

Related to coala/meta#123

# This is the 7th commit message:

setup.cfg: Use template

Also use template for tests/conftest.py

# This is the 8th commit message:

Meta-review.rst: Add meta-review docs

Closes coala#5513

# This is the 9th commit message:

CacheUtilities.py: Remove unused variables

Closes coala#5642

# This is the 10th commit message:

.coafile: Modify circleci config file location

This fixes the location and changes it from
circle.yml to ./.circleci/config.yml.

Closes coala#5375

# This is the 11th commit message:

Bear: Remove debugger from init

Fix the API breakage problem because of
`debugger` flag in bear base class.

Related to coala#5676

# This is the 12th commit message:

LocalBearTestHelper: Modify for `aspects` testing

This modifies `LocalBearTestHelper` to make it compatible
for testing `aspects` in coala-bears.

Closes coala#5637

# This is the 2nd commit message:

Added __main__.py, so that the package coalib.py
can be started from that file
  • Loading branch information
Naveenaidu committed Aug 4, 2018
1 parent 8a74a68 commit 26c8f10
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion coalib/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< HEAD
# This invokes the main method of coala from the
# package coalib.
# This is used when we invoke coala using -m
Expand All @@ -9,4 +10,14 @@
from coalib.coala import main

if __name__ == '__main__':
sys.exit(main())
sys.exit(main())

=======
import sys

from coalib.coala import main
# Stop ignoring

if __name__ == '__main__':
sys.exit(main())
>>>>>>> ec444a7... Added __main__.py, so that the package coalib.py

0 comments on commit 26c8f10

Please sign in to comment.