Skip to content

Commit 0925c2d

Browse files
committed
chore: split out flake8 dependencies into their own file
This is to make it possible to run a GitHub action for flake8 that doesn't need to load all of requirements-dev.txt.
1 parent 06cb3ec commit 0925c2d

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

requirements-dev.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,12 @@
55
# @website https://github.com/caltechlibrary/iga
66

77
-r requirements.txt
8+
-r requirements-lint.txt
89

910
pytest >= 6.2.5
1011
pytest-cov >= 3.0.0
1112
pytest-mock >= 3.7.0
1213

13-
flake8 >= 4.0.1
14-
flake8-bugbear >= 22.4.25
15-
flake8-builtins >= 1.5.3
16-
flake8-comprehensions >= 3.8.0
17-
flake8-executable >= 2.1.1
18-
flake8_implicit_str_concat >= 0.3.0
19-
flake8-pie >= 0.15.0
20-
flake8-simplify >= 0.19.2
21-
2214
twine
2315
wheel
2416

requirements-lint.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# @file requirements-lint.txt
2+
# @brief Python dependencies for linting the codebase
3+
# @created 2023-07-24
4+
# @license Please see the file named LICENSE in the project directory
5+
# @website https://github.com/caltechlibrary/iga
6+
#
7+
# This set of dependencies is split out from requirements-dev.txt so that
8+
# GitHub Actions can load just this subset and not all the other
9+
# requirements. (IGA has a huge list of requirements and they take a long
10+
# time to install -- a needless waste of time when only running flake8.)
11+
12+
flake8 >= 4.0.1
13+
flake8-bugbear >= 22.4.25
14+
flake8-builtins >= 1.5.3
15+
flake8-comprehensions >= 3.8.0
16+
flake8-executable >= 2.1.1
17+
flake8_implicit_str_concat >= 0.3.0
18+
flake8-pie >= 0.15.0
19+
flake8-simplify >= 0.19.2

0 commit comments

Comments
 (0)