Coder Social home page Coder Social logo

pocketlint's People

Contributors

atodorov avatar bcl avatar clumens avatar dashea avatar hroncok avatar jkonecny12 avatar martinpitt avatar mulkieran avatar vladimirslavik avatar vojtechtrefny avatar vpodzime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pocketlint's Issues

Doesn't work with astroid 2.0.0 (and thus Python 3.7)

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'
...

RFE: is it possible to start making github releases?๐Ÿค”

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.