File tree Expand file tree Collapse file tree 6 files changed +19
-7
lines changed
Expand file tree Collapse file tree 6 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 1+ [flake8]
2+ max_complexity = 10
3+ max-line-length = 120
4+ statistics = True
5+ count = True
Original file line number Diff line number Diff line change @@ -18,10 +18,8 @@ before_install:
1818 - sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
1919install :
2020 - pip install --no-cache-dir --upgrade pip
21- - pip install -r requirements.txt
21+ - pip install -r requirements-dev .txt
2222script :
23- - whereis google-chrome-stable
24- - whereis chromedriver
2523 - ./run-code-analysis.sh
2624after_success :
2725 - coveralls
Original file line number Diff line number Diff line change 1010> - ` python 3.6+ `
1111> - ` selenium ` and ` pom `
1212> - ` pytest `
13+ > - ` travis CI `
14+
15+ In addition code is ` fully type annotated ` and covered with static code analysis tools (` black ` , ` flake8 ` ).
1316
1417## Run automated tests
1518From the root directory of your shell run following commands:
@@ -56,4 +59,5 @@ You can reach out me at:
5659## Contributing
57601 . clone the repository
58612 . configure Git for the first time after cloning with your ` name ` and ` email `
59- 3 . ` pip install -r requirements.txt ` to install all project dependencies
62+ 3 . ` pip install -r requirements.txt ` to install all project dependencies
63+ 4 . ` pip install -r requirements-dev.txt ` to install all project development dependencies
Original file line number Diff line number Diff line change 1+ pytest == 5.2.2
2+ pytest-cov == 2.8.1
3+ pytest-clarity == 0.2.0a1
4+ pytest-metadata == 1.8
5+ black == 19.10b0
6+ coveralls == 1.8.2
7+ flake8 == 3.7.9
Original file line number Diff line number Diff line change @@ -4,5 +4,3 @@ pytest-cov==2.8.1
44pytest-metadata == 1.8
55pytest-html == 2.0.0
66pytest-clarity == 0.2.0a1
7- black == 19.10b0
8- coveralls == 1.8.2
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function remove-analysis-trash {
3636function install-dependencies {
3737 echo " Installing python code analysis packages ..." \
3838 && ( pip install --no-cache-dir --upgrade pip ) \
39- && ( pip install --no-cache-dir -r requirements.txt )
39+ && ( pip install --no-cache-dir -r requirements-dev .txt )
4040}
4141
4242
You can’t perform that action at this time.
0 commit comments