LucasPereiraMiranda / list-elements-diff

Project helper to obtain the different elements between two lists

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List Elements Diff

GitHub language count Repository size GitHub last commit Repository issues GitHub license

πŸ’» Objectives

Project helper to obtain the different elements between two lists

Execution preview:

Execution preview

πŸš€ Techs

The analysis is being performed with the following technologies:

πŸ’₯ How to run the application?

  • With python3 & virtualenv already installed, we can run:
  virtualenv venv
  • We can activate the virtual environment by running:
  source venv/bin/activate # Linux or Mac
  • We can install requirements.txt dependencies:
  pip install -r requirements.txt
  • After defining the contents of the lists in the handle file list_1 and list_2, we can run:
  python src/handle.py

βœ”οΈ How to run project unit tests?

We can run it from the root of the project:

  python -m unittest discover -s src -v -p "test_*.py"

πŸ’„ How we can lint app with .pylintrc rules?

  • We can run:
  pylint src/*.py > lint-exceptions.txt

License

MIT

About

Project helper to obtain the different elements between two lists

License:MIT License


Languages

Language:Python 100.0%