Skip to content

TypeError: CoverallsReporter() takes no arguments #79

Description

@VovaMazur

Dear Sirs,

Trying to setup coveralls for pretty simple flask web app.
UT is done with coverage / unittest.

After the successful built (with TravisCI), coveralls command shows below error:
Traceback (most recent call last):
File "C:\Users\Asus\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\Asus\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "D:\Documents\EPAM\Pet_projects\Python EPAM stream\venv\Scripts\coveralls.exe_main
.py", line 7, in
File "D:\Documents\EPAM\Pet_projects\Python EPAM stream\venv\lib\site-packages\coveralls_init
.py", line 93, in wear
source_files=coverage.coveralls(args.base_dir, ignore_errors=args.ignore_errors, merge_file=args.merge_file),
File "D:\Documents\EPAM\Pet_projects\Python EPAM stream\venv\lib\site-packages\coveralls\control.py", line 7, in coveralls
reporter = CoverallsReporter(self, self.config)
TypeError: CoverallsReporter() takes no arguments


Travis.yml script:

language: python
python:

  • "3.9" # current default Python on Travis CI

install:

  • pip install -r requirements.txt

script:

  • pylint --exit-zero manifestapp
  • coverage run -m unittest tests
  • coverage report

after_success:

  • coveralls

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions