File tree 2 files changed +4
-16
lines changed
2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -4,26 +4,20 @@ language: python
4
4
python : 3.8
5
5
cache : pip
6
6
before_install : pip install --upgrade pip setuptools six
7
- install : pip install black flake8
8
7
jobs :
9
8
include :
10
9
- name : Build
11
- before_script :
12
- - black --check . || true
13
- - flake8 --ignore=E203,W503 --max-complexity=25 --max-line-length=88 --statistics --count .
14
- - scripts/validate_filenames.py # no uppercase, no spaces, in a directory
15
- - pip install -r requirements.txt # fast fail on black, flake8, validate_filenames
10
+ install : pip install pytest-cov -r requirements.txt
16
11
script :
17
- - mypy --ignore-missing-imports . || true # https://github.com/python/mypy/issues/7907
18
12
- pytest --doctest-modules --ignore=project_euler/ --durations=10 --cov-report=term-missing:skip-covered --cov=. .
19
13
- name : Project Euler
20
- before_script :
14
+ install :
21
15
- pip install pytest-cov pytest-subtests
22
16
- pytest --tb=no --no-summary --capture=no project_euler/validate_solutions.py || true # fail fast on wrong solution
23
17
script :
24
18
- pytest --doctest-modules --durations=10 --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/
25
19
after_success :
26
20
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
27
21
notifications :
28
- webhooks : https://www.travisbuddy.com/
29
- on_success : never
22
+ webhooks : https://www.travisbuddy.com/
23
+ on_success : never
Original file line number Diff line number Diff line change 1
1
beautifulsoup4
2
- black
3
2
fake_useragent
4
- flake8
5
3
keras
6
4
lxml
7
5
matplotlib
8
- mypy
9
6
numpy
10
7
opencv-python
11
8
pandas
12
9
pillow
13
- pre-commit
14
- pytest
15
- pytest-cov
16
10
requests
17
11
scikit-fuzzy
18
12
sklearn
You can’t perform that action at this time.
0 commit comments