Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wagenrace/happy-kostadin
Check for CRLF and LF endings in your code
https://github.com/wagenrace/happy-kostadin
Last synced: about 2 months ago
JSON representation
Check for CRLF and LF endings in your code
- Host: GitHub
- URL: https://github.com/wagenrace/happy-kostadin
- Owner: wagenrace
- License: apache-2.0
- Created: 2024-01-18T06:56:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-14T07:47:32.000Z (12 months ago)
- Last Synced: 2024-10-22T07:09:10.142Z (3 months ago)
- Language: Python
- Size: 31.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE
Awesome Lists containing this project
README
# Happy Kostadin
If you have files with CRLF line endings it can create problems.
## Install
```bash
pip install happy-kostadin
```## Using
Happy_kostadin is a CLI tool. Navigate to the project you want to check and run the following:
```bash
happy_kostadin
```If you want to specify a path you can use the `-p` flag.
```bash
happy_kostadin -p your\path\here
```### Select what files to include
happy_kostadin uses the `pyproject.toml` in the folder it ran from.
If in there there is the following it will only look for files ending the allowed post-fixes.```toml
[tool.happy_kostadin]
allowed-post-fixes = [
".py",
".md",
".gitignore",
]
```If this not present all files will scanned.
# Credits
- Tom Nijhof