Skip to content

--requirements-file doesn't work with pyproject.toml #94

Open
@jamesbraza

Description

@jamesbraza

With https://github.com/Future-House/aviary/tree/v0.14.0, flake8==7.1.1, and flake8-requirements[pyproject]==2.2.1, running in the repo root:

flake8 --requirements-file=packages/gsm8k packages/gsm8k/src
[tool.flake8.known-modules]
fh-llm-client = ["llmclient"]
fhaviary = ["aviary"]

I get the following I900s:

packages/gsm8k/src/aviary/envs/gsm8k/env.py:7:1: I900 'datasets' not listed as a requirement
packages/gsm8k/src/aviary/envs/gsm8k/env.py:8:1: I900 'pydantic' not listed as a requirement
packages/gsm8k/src/aviary/envs/gsm8k/env.py:22:5: I900 'pandas' not listed as a requirement

However, they are actually in the dependencies list: https://github.com/Future-House/aviary/blob/v0.14.0/packages/gsm8k/pyproject.toml#L9-L13

What is going wrong here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions