rhinstaller / pocketlint Goto Github PK
View Code? Open in Web Editor NEWShared code for running pylint against our projects
License: GNU General Public License v2.0
Shared code for running pylint against our projects
License: GNU General Public License v2.0
Astroid 2.0.0 is the first astroid to support Python 3.7. Pocketlint doesn't work with it.
[pocketlint (master)]$ python3.6 -m venv __venv__
[pocketlint (master)]$ . __venv__/bin/activate
(__venv__) [pocketlint (master)]$ pip install --pre astroid pylint
...
Successfully installed astroid-2.0.0.dev1 isort-4.3.4 lazy-object-proxy-1.3.1 mccabe-0.6.1 pylint-2.0.0.dev1 six-1.11.0 typed-ast-1.1.0 wrapt-1.10.11
(__venv__) [pocketlint (master)]$ pip install -e.
...
Successfully installed pocketlint
(__venv__) [pocketlint (master %)]$ python tests/pylint/runpylint.py
Traceback (most recent call last):
File ".../pocketlint/__venv__/bin/pylint", line 11, in <module>
sys.exit(run_pylint())
File ".../pocketlint/__venv__/lib64/python3.6/site-packages/pylint/__init__.py", line 18, in run_pylint
Run(sys.argv[1:])
File ".../pocketlint/__venv__/lib64/python3.6/site-packages/pylint/lint.py", line 1292, in __init__
linter.load_plugin_modules(self._plugins)
File ".../pocketlint/__venv__/lib64/python3.6/site-packages/pylint/lint.py", line 501, in load_plugin_modules
module = modutils.load_module_from_name(modname)
File ".../pocketlint/__venv__/lib64/python3.6/site-packages/astroid/modutils.py", line 190, in load_module_from_name
return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
File ".../pocketlint/__venv__/lib64/python3.6/site-packages/astroid/modutils.py", line 233, in load_module_from_modpath
module = imp.load_module(curname, mp_file, mp_filename, mp_desc)
File "/usr/lib64/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/lib64/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File ".../pocketlint/pocketlint/checkers/pointless-override.py", line 114, in <module>
class PointlessFunctionDefinition(PointlessData):
File ".../pocketlint/pocketlint/checkers/pointless-override.py", line 117, in PointlessFunctionDefinition
_DEF_CLASS = astroid.Function
AttributeError: module 'astroid' has no attribute 'Function'
...
Since the code now requires packaging, setup.py
should indicate the dependency as well.
It is not immediately clear what this module does without diving into the source code.
On create github release entry is created email notification to those whom have set in your repo the web UI Watch->Releases.
gh release can contain additional comments (li changelog) or additional assets like release tar balls (by default it contains only assets from git tag) however all those part are not obligatory.
In simplest variant gh release can be empty because subiekt of the sent email contains git tag name.
I'm asking because my automation process uses those email notifications by trying to make preliminary automated upgrades of building packages, which allows saving some time on maintaining packaging procedures.
Probably other people may be interested to be instantly informed about release new version as well.
Documentation and examples of generate gh releases:
https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository
https://cli.github.com/manual/gh_release_upload/
https://github.com/marketplace/actions/github-release
https://pgjones.dev/blog/trusted-plublishing-2023/
jbms/sphinx-immaterial#281 (comment)
tox target to publish on pypi and make gh release https://github.com/jaraco/skeleton/blob/928e9a86d61d3a660948bcba7689f90216cc8243/tox.ini#L42-L58
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.