Browse Source

Added gitignore and Makefile

Fabrizio Furnari 9 months ago
parent
commit
32c2035b38
2 changed files with 25 additions and 0 deletions
  1. 7 0
      .gitignore
  2. 18 0
      Makefile

+ 7 - 0
.gitignore

@@ -0,0 +1,7 @@
+/build/
+/.eggs/
+/*.egg-info/
+/.mypy_cache/
+/.tox/
+__pycache__/
+*.pyc

+ 18 - 0
Makefile

@@ -0,0 +1,18 @@
+.PHONY: help install test format lint clean examples
+
+install:
+	pip install -e .
+
+test:
+	proxytester -l debug --test-dir example_tests
+
+lint:
+	flake8 proxytester/* example_tests/*
+
+clean:
+	find . -type d -name "__pycache__" -exec rm -rf {} +
+	find . -type f -name "*.pyc" -delete
+	find . -type d -name "*.egg-info" -exec rm -rf {} +
+	rm -rf build/ dist/
+
+