#!/bin/bash
#File: tree-md
tree=$(tree -tf --noreport -I '*~' --charset ascii $1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://github.com/pypa/build/blob/main/setup.cfg | |
| [metadata] | |
| name = build | |
| version = 0.5.1 | |
| description = A simple, correct PEP517 package builder | |
| long_description = file: README.md | |
| long_description_content_type = text/markdown | |
| author = Filipe Laíns | |
| author_email = [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # see https://editorconfig.org/ | |
| root = true | |
| [*] | |
| # Use Unix-style newlines for most files (except Windows files, see below). | |
| end_of_line = lf | |
| trim_trailing_whitespace = true | |
| indent_style = space | |
| insert_final_newline = true | |
| indent_size = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Tasks for maintaining the project. | |
| https://github.com/fedejaure/cookiecutter-modern-pypackage | |
| Execute 'invoke --list' for guidance on using Invoke | |
| """ | |
| import platform | |
| import webbrowser | |
| from pathlib import Path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ImmutableDict(dict): | |
| def __setitem__(self, key, value): | |
| raise TypeError("%r object does not support item assignment" % type(self).__name__) | |
| def __delitem__(self, key): | |
| raise TypeError("%r object does not support item deletion" % type(self).__name__) | |
| def __getattribute__(self, attribute): | |
| if attribute in ('clear', 'update', 'pop', 'popitem', 'setdefault'): | |
| raise AttributeError("%r object has no attribute %r" % (type(self).__name__, attribute)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://github.com/Pylons/pyramid/blob/master/pyproject.toml | |
| [build-system] | |
| requires = ["setuptools", "wheel"] | |
| build-backend = "setuptools.build_meta" | |
| [tool.black] | |
| line-length = 79 | |
| skip-string-normalization = true | |
| py36 = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . | |
| ├── deploy.py | |
| ├── project | |
| │ ├── application.py | |
| │ ├── apps | |
| │ │ ├── articles | |
| │ │ │ ├── forms.py | |
| │ │ │ ├── __init__.py | |
| │ │ │ ├── models.py | |
| │ │ │ └── views.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c | |
| [metadata] | |
| name = {name} | |
| version = file: {name}/_version.txt | |
| author = Martin Larralde | |
| author_email = [email protected] | |
| url = https://github.com/althonos/{name} | |
| description = {description} | |
| long_description = file: README.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .PHONY: test install pep8 release clean | |
| test: pep8 | |
| py.test --cov -l --tb=short --maxfail=1 program/ | |
| install: | |
| python setup.py develop | |
| pep8: | |
| @flake8 program --ignore=F403 --exclude=junk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| import functools | |
| import logging | |
| import signal | |
| import sys | |
| import confluent_kafka | |
| # source: https://github.com/confluentinc/confluent-kafka-python/issues/1017 |