Comments (3)
Hello, thank you for opening this issue. I will look into it and update you as soon as I can :)
from pylint-github-action.
Hey, sorry for the late response! The issue is that the package-path
parameter in your GA points to the root of the repository, which is not a package since there's no __init__.py
file. So you can solve this in two ways:
- You can simply specify as
package-path
the python file to lint (which seemsmain.py
in your case) - Or you can put your
main.py
file in a package (create a new directory with the__init__.py
file) and put the path to this newly created package as value to thepackage-path
parameter
I'm realizing that maybe "package-path" is an unfortunate name for the parameter, and maybe I should change it to "lint-path" and update the documentation for your case (which is a valid one). In the meantime, please try one of the two solutions provided and let me know!
from pylint-github-action.
Hey, now this issue is fully solved as the new v2 release of this github action better documents the behaviour of linting single python files.
Feel free to reopen this issue if something's wrong!
from pylint-github-action.
Related Issues (1)
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 pylint-github-action.