"Fossies" - the Fresh Open Source Software Archive

Member "email-reminder-0.8.1/Makefile.python" (19 Sep 2020, 747 Bytes) of package /linux/privat/email-reminder-0.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.python": 0.8.0_vs_0.8.1.

    1 NAME = email-reminder-editor
    2 FILES = $(NAME) EmailReminder/*.py
    3 VERSION := $(shell grep "VERSION =" $(NAME) | perl -pe 's/^.+?([0-9.]+).$$/$$1/g')
    4 
    5 all:
    6 
    7 clean:
    8     find -name "*.pyc" -delete
    9 
   10 pyflakes:
   11     @echo Running pyflakes...
   12     @pyflakes3 $(FILES)
   13 
   14 pydocstyle:
   15     @echo Running pydocstyle...
   16     @pydocstyle
   17 
   18 pycodestyle:
   19     @echo Running pycodestyle...
   20     @pycodestyle $(FILES)
   21 
   22 codespell:
   23     @echo Running codespell...
   24     @codespell $(FILES)
   25 
   26 lint:
   27     @echo Running pylint...
   28     @pylint $(FILES)
   29 
   30 bandit:
   31     @echo Running bandit...
   32     @bandit --quiet -r .
   33 
   34 test: pycodestyle pydocstyle pyflakes lint codespell bandit
   35 
   36 dist: test
   37     git commit -a -m "Bump version and changelog for release"
   38     git tag -s $(NAME)-$(VERSION) -m "$(VERSION) release"
   39     python setup.py sdist