Skip to content

Commit c431a5f

Browse files
committed
ci: Remove flake8 checks
Existing version of flake8 breaks on Python 3.12. In the future, ruff should be used in the place of flake8 and autoflake.
1 parent f696460 commit c431a5f

File tree

5 files changed

+1
-11
lines changed

5 files changed

+1
-11
lines changed

doc/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ line-length of 119 characters. Documentation, comments, and docstrings should be
4444
.. _PEP 8: https://www.python.org/dev/peps/pep-0008/
4545
.. _black: https://pypi.org/project/black/
4646

47-
PyStan code is also checked by ``flake8`` and ``mypy``.
47+
PyStan code is also checked by ``mypy``.
4848

4949
Commit Messages
5050
===============

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@ setuptools = "*"
3434
pytest = "^6.2"
3535
pytest-asyncio = "^0.18.3"
3636
pandas = "^1.0"
37-
autoflake = "^1.4"
3837
black = "22.6.0"
3938
isort = "^5.9"
4039
mypy = "0.982"
4140
types-setuptools = "^57.4"
42-
flake8 = "^4.0"
4341
# documentation
4442
# NOTE: when changing these, update docs-requirements.txt
4543
sphinx = "^7.2"

scripts/check

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ set -x
77

88
isort --check --diff $SOURCE_FILES
99
black --check --diff $SOURCE_FILES
10-
flake8 $SOURCE_FILES
1110
mypy $SOURCE_FILES
1211

1312
# verify building documentation succeeds

scripts/lint

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ SOURCE_FILES="stan tests"
55

66
set -x
77

8-
autoflake --in-place --recursive $SOURCE_FILES
98
isort $SOURCE_FILES
109
black $SOURCE_FILES scripts doc

setup.cfg

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
# flake8 cannot be configured using pyproject.toml
2-
[flake8]
3-
max-line-length = 119
4-
extend-ignore = E203, E501, W503
5-
exclude = .venv,.git,dist,doc,*lib/python*,*egg,build
6-
71
[mypy]
82
ignore_missing_imports = True

0 commit comments

Comments
 (0)