Comments (3)
* Essentially, you should have your own requirements.txt for your environment and set it up yourself * If you want to use a fixed version of mypy, you need to fix it yourself and use the same one on local and on CI, otherwise you are likely to have problems
Yes, these 2 are the exact reason why I want to see action-mypy
allowing users to specify mypy
version. In a CI workflow all tools need some way to set tools versions.
Many python related tools use requirements.txt
or pyproject.toml
, tox
has its own tox.ini
to achieve the same effect, and so on. But I originally thought action-mypy
doesn't have any.
You have pointed me to setup_command
and it can achieve the same result, so I guess my suggestion can be closed, thanks a lot!
from action-mypy.
Hi @abelcheung ,
Thank you for your suggestion.
I understand your suggestion.
However, I would like to hold off because the effect is limited.
The reasons are as follows.
- The function to install a mypy is ancillary
- Essentially, you should have your own requirements.txt for your environment and set it up yourself
- If you want to use a fixed version of mypy, you need to fix it yourself and use the same one on local and on CI, otherwise you are likely to have problems
We will support it in the next major version
#70
PR is welcome.
from action-mypy.
Note:
Now you can specify the version directly in setup_command
.
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
- Custom MyPy binary HOT 4
- 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
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.