https://github.com/sourdoughcat/py-semver-checks
https://github.com/sourdoughcat/py-semver-checks
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sourdoughcat/py-semver-checks
- Owner: SourdoughCat
- Created: 2024-03-18T00:29:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-24T09:51:55.000Z (about 1 year ago)
- Last Synced: 2024-12-09T00:10:03.309Z (6 months ago)
- Language: Python
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python semantic version checking
Python Semantic Version Checker ("verger")
Basic idea:
- dump all the representation of python modules to dict (ast2dict)
- Generate checks off the AST representationGoals:
- Make things readable
- Only use stdlib as part of the core implementationExample Output:
```
my_module.py:3:5 Additional FunctionDef found (my_func)
```# Influences
- `ast2json` project, where the implementation of `ast2dict` module is adapted from.
- `pycodestyle` project, I learnt a lot about structuring and CLI experience for
generating linters off a small clean database