Brak opisu

Fabian Peter Hammerle 28839ae92a add additional (internal) type hints to enable mypy's strict mode 2 lat temu
.github aeeb53e114 drop compatibility with python3.6; test against python3.10 2 lat temu
free_disk aeeb53e114 drop compatibility with python3.6; test against python3.10 2 lat temu
tests 28839ae92a add additional (internal) type hints to enable mypy's strict mode 2 lat temu
.gitignore dbcdf64ac2 env: downgrade zipp to restore compatibility with python3.4 & python3.5 4 lat temu
.pylintrc a91afa30d8 drop compatibility with python3.5 2 lat temu
CHANGELOG.md aeeb53e114 drop compatibility with python3.6; test against python3.10 2 lat temu
LICENSE 576cd0c9fa MIT license 5 lat temu
Pipfile aeeb53e114 drop compatibility with python3.6; test against python3.10 2 lat temu
Pipfile.lock aeeb53e114 drop compatibility with python3.6; test against python3.10 2 lat temu
README.md 23101024da drop support for python3.4; upgrade dev env; disable travis 3 lat temu
mypy.ini 28839ae92a add additional (internal) type hints to enable mypy's strict mode 2 lat temu
setup.py aeeb53e114 drop compatibility with python3.6; test against python3.10 2 lat temu

README.md

free-disk 💾

CI Pipeline Status Last Release Python Version

Delete file with the oldest modification date until a minimum of --free-bytes are available on the respective disk.

Install

pip3 install --user --upgrade free-disk

Usage

free-disk --help
free-disk --free-bytes 1GiB /dir/to/cleanup
free-disk --debug --free-bytes 2GB /dir/to/cleanup

Tests

pip3 install --user pipenv
git clone https://github.com/fphammerle/free-disk.git
cd freesurfer-volume-reader
pipenv run pylint free_disk
pipenv run pytest