Comments (4)
Hi, @jonathanberthias,
Thanks for the report.
I have added setup_method
for future use.
I presented the setup for safety, but I'm glad it works with adaptive
as well.
I did not know that the poetry shell
did not work in Github workflow.
Thanks for letting me know.
I will release it in a minor VerUp.
Regard.
Cho
from action-mypy.
I will consider responding this issue.
from action-mypy.
@jonathanberthias san,
Fix action-mypy for using "Poetry".
https://github.com/tsuyoshicho/action-mypy/tree/feature/adaptivesetup
Could you please test this branch?
- uses: tsuyoshicho/action-mypy@feature/adaptivesetup
with:
# your settings
# ...
# Poetry support
execute_command: 'poetry run mypy'
setup_method: 'nothing'
(Also check the README.)
from action-mypy.
Thanks for being so quick to reply!
I just tested the branch, and it works exactly as expected! Actually, I didn't need the setup_method
change since the poetry run mypy --version
command succeeds, and installation is skipped even with the "adaptive"
method.
Also, FYI, I can't run poetry shell
in GitHub workflows:
Run poetry shell
Spawning shell within /home/runner/work/test-stuff/test-stuff/.venv
(25, 'Inappropriate ioctl for device')
Error: Process completed with exit code 1.
that's why I have to run poetry run mypy
explicitly.
from action-mypy.
Related Issues (16)
- Bug: invalidate setting with arguments
- Action Required: Fix Renovate Configuration
- Type checking with third party packages HOT 9
- local test need pip install
- Dependency Dashboard
- Multiple reviews generated for multiline mypy error HOT 13
- Allow specifying a mypy version HOT 4
- Some mypy errors are ignored HOT 2
- TODO: Ignore note refactor HOT 1
- Next major release HOT 1
- Running via Poetry doesn't seem to work HOT 10
- bug: action-mypy github-pr-review do not work? HOT 1
- Feature request: Multiple targets for mypy HOT 3
- Read mypy arguments from config file HOT 11
- Suggestion: Allow user to choose mypy version manually HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-mypy.