diff --git a/.github/workflows/cpp_linters.yaml b/.github/workflows/cpp_linters.yaml index 172d368..b8be389 100644 --- a/.github/workflows/cpp_linters.yaml +++ b/.github/workflows/cpp_linters.yaml @@ -31,4 +31,4 @@ jobs: - name: Install cpplint run: pipx install cpplint - name: Run cpplint - run: cpplint --filter=-whitespace/line_length,-whitespace/parens ./src/app/fast/* + run: cpplint --filter=-whitespace/line_length,-whitespace/parens ./src/cpp/fast/* diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index a283504..e696377 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -20,13 +20,13 @@ jobs: python-version: 3.13 - name: Install libraries - run: make python-install-editable + run: make python-install-development - name: mypy - run: mypy ./src + run: make mypy - name: ruff - run: ruff check . + run: make ruff - name: flake8 - run: flake8 . + run: make flake8 diff --git a/Makefile b/Makefile index eb3809f..ec2a6d8 100644 --- a/Makefile +++ b/Makefile @@ -4,5 +4,18 @@ all: python-install: pip3 install . +python-install-development: + pip3 install .[development] + python-install-editable: - pip3 install -e .[development] \ No newline at end of file + pip3 install -e .[development] + +mypy: + mypy ./src/python/ + +ruff: + ruff check ./src/python/ + +flake8: + flake8 ./src/python/ + diff --git a/setup.cfg b/setup.cfg index 697d1df..41a8d88 100644 --- a/setup.cfg +++ b/setup.cfg @@ -47,3 +47,6 @@ where = ./src/python include = app app.* + +[flake8] +max-line-length = 120 \ No newline at end of file