Skip to content

Commit 0c76599

Browse files
author
Mia Steinkirch
committed
Merge branch 'master' of github.com:bt3gl/Book-Python_and_Algorithms
2 parents bf7d105 + c22225e commit 0c76599

File tree

4 files changed

+38
-8
lines changed

4 files changed

+38
-8
lines changed

.github/workflows/pythonapp.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Python application
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Set up Python 3.7
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: 3.7
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install -r requirements.txt
20+
- name: Lint with flake8
21+
run: |
22+
pip install flake8
23+
# stop the build if there are Python syntax errors or undefined names
24+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
25+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
26+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
27+
- name: Test with pytest
28+
run: |
29+
pip install pytest
30+
pytest
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Flask==0.10.1
1+
Flask==1.0
22
SQLAlchemy==0.9.7
33
bpython==0.13.1
44
coverage==3.7.1
@@ -8,6 +8,6 @@ ipython==0.13.2
88
matplotlib==1.3.1
99
nose==1.3.0
1010
numpy==1.8.2
11-
scapy==2.2.0
11+
scapy==2.4.1
1212
scikit-learn==0.14.1
1313
scipy==0.12.1

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
## Python & Algorithms Book
1+
## Book on Python, Algorithms, and Data Structures
22

33

4-
➡️ [PDF (1st edition, 2014, published by Hanbit Media)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014/ebook_pdf/book_second_edition.pdf) and [source code](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014).
4+
➡️ [PDF (1st edition, 2013, published by Hanbit Media in 2015)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014/ebook_pdf/book_second_edition.pdf) and [source code](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014).
55

66

7-
➡️ [Source code (2nd edition, 2019)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/Second_edition_2019).
7+
➡️ [Source code (2nd edition, 2019, ported to Python 3.7)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/Second_edition_2019).
88

99

1010

1111
## License
1212

1313
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).
14-
When making a reference to my work, please use my [website](http://bt3gl.github.io/index.html).
14+

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Flask==0.10.1
1+
Flask==1.0
22
SQLAlchemy==0.9.7
33
bpython==0.13.1
44
coverage==3.7.1
@@ -8,6 +8,6 @@ ipython==0.13.2
88
matplotlib==1.3.1
99
nose==1.3.0
1010
numpy==1.8.2
11-
scapy==2.2.0
11+
scapy==2.4.1
1212
scikit-learn==0.14.1
1313
scipy==0.12.1

0 commit comments

Comments
 (0)