Watches StackOverflow answers and GitHub issues referenced in code for changes
Project description
Depoverflow
This tool checks your source code for references to Stackoverflow answers and GitHub issues and warns you if those change.
Why?
There are plenty of tools that will let you know if your package dependencies have changed (poetry show -o
, npm outdated
, ...). There are even cloud-based services like Dependabot.
However, if you copy/paste code from Stackoverflow answers or GitHub issues, you will never be notified of updates.
Features
- Find references to Stackoverflow answers and questions in code comments, to alert of edits and/or comments
- Find references to GitHub issues in code comments, to alert of open and close events and/or comments
- Optionally supports specific keywords such as "Works around"
- Saves current status of referenced items in a TOML file (similar to a lockfile), that you can check into version control (or not)
How to use
Install the tool: pip install depoverflow
Create a configuration file depoverflow.toml
with the list of source file patterns you want to read (in Python glob format):
sources = [
"src/**.py",
"tests.py",
"native/*.c",
]
Run the tool: depoverflow
.
A file depoverflow.status
will be created, which you can check into version control or not. It is a TOML file containing the current status of the items you reference from your code, so that a warning can be shown the next time they change.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file depoverflow-0.1.1.tar.gz
.
File metadata
- Download URL: depoverflow-0.1.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af3fb9277faf0988d32cffdf9d69af70d02f73eba24c53981ac0280d88f6d62e |
|
MD5 | 3b3be608df533a10122768aa4e4fa754 |
|
BLAKE2b-256 | 6460be24665ae799a696dc83365a289b14d1a9c42d1e3e094a932003e8d9579f |
File details
Details for the file depoverflow-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: depoverflow-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d784a8c6c95b13d0ab20f90fe80a20bb2bdc17081fea917b5795a3840666acd8 |
|
MD5 | 7c5c5be4c068138b1d6c0f6dc74eef2a |
|
BLAKE2b-256 | 61d587f22324b2ee193830c1db72d93339740ed5891fe040cb62d5a0a58c4497 |