Skip to content

Commit ad55710

Browse files
authored
fix: .flake8 file (#35)
Signed-off-by: Avik Basu <avikbasu93@gmail.com>
1 parent 7a8efd5 commit ad55710

8 files changed

Lines changed: 159 additions & 196 deletions

File tree

.flake8

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[flake8]
2-
ignore = |
3-
E203, F821
2+
ignore = E203, F821
43
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist,generated
54
max-complexity = 10
65
max-line-length = 100

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
poetry env use ${{ matrix.python-version }}
33-
poetry install --no-root
33+
poetry install --with dev --no-root
3434
3535
- name: Run tests
3636
run: make test
@@ -58,7 +58,7 @@ jobs:
5858
- name: Install dependencies
5959
run: |
6060
poetry env use ${{ matrix.python-version }}
61-
poetry install --no-root
61+
poetry install --with dev --no-root
6262
6363
- name: Black format check
6464
run: poetry run black --check .

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
poetry env use ${{ matrix.python-version }}
33-
poetry install --no-root
33+
poetry install --with dev --no-root
3434
3535
- name: Run Coverage
3636
run: |

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
poetry env use ${{ matrix.python-version }}
33-
poetry install --no-root
33+
poetry install --with dev --no-root
3434
3535
- name: Black format check
3636
run: poetry run black --check .

.github/workflows/pypi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
poetry env use ${{ matrix.python-version }}
33-
poetry install --all-extras
33+
poetry install --no-root
3434
3535
- name: Build dist
3636
run: poetry build

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,6 @@ cython_debug/
162162

163163
# Proto files are coming from numaflow-go https://github.com/numaproj/numaflow-go
164164
protos/
165+
166+
# Mac related
167+
.DS_Store

poetry.lock

Lines changed: 147 additions & 189 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ python = ">=3.8, <3.11"
2323
grpcio = "^1.48.1"
2424
grpcio-tools = "^1.48.1"
2525

26+
[tool.poetry.group.dev]
27+
optional = true
28+
2629
[tool.poetry.group.dev.dependencies]
2730
pytest = "^7.1"
2831
pytest-cov = "^3.0"

0 commit comments

Comments
 (0)