neulab / prompt2model

prompt2model - Generate Deployable Models from Natural Language Instructions
Apache License 2.0
1.96k stars 177 forks source link

Allow future imports in CI #323

Closed neubig closed 1 year ago

neubig commented 1 year ago

Currently I believe that CI disallows future imports, which means that we have to add a noqa like this:

from __future__ import annotations # noqa FI58

In general, we should avoid requiring systematic noqas, instead allowing this by global rules. We can adjust the linting config to allow this.

zhaochenyang20 commented 1 year ago

Sure. Let me try to find a way to do this. 🤔