Skip to content

Use socket-bounded file wrapper #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ search = version='{current_version}'
replace = version='{new_version}'

[bumpversion:file:README.rst]
search = v{current_version}.
replace = v{new_version}.
search = /v{current_version}.svg
replace = /v{new_version}.svg

[bumpversion:file:docs/conf.py]
search = version = release = '{current_version}'
Expand All @@ -18,4 +18,3 @@ replace = version = release = '{new_version}'
[bumpversion:file:src/manhole/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'

29 changes: 20 additions & 9 deletions .cookiecutterrc
Original file line number Diff line number Diff line change
@@ -1,42 +1,53 @@
# Generated by cookiepatcher, a small shim around cookiecutter (pip install cookiepatcher)

cookiecutter:
_extensions:
- jinja2_time.TimeExtension
_template: cookiecutter-pylibrary
default_context:
allow_tests_inside_package: no
appveyor: no
c_extension_function: '-'
c_extension_module: '-'
c_extension_optional: no
c_extension_support: no
c_extension_test_pypi: no
c_extension_test_pypi_username: ionelmc
codacy: no
codacy_projectid: '[Get ID from https://app.codacy.com/app/ionelmc/python-manhole/settings]'
codeclimate: no
codecov: yes
command_line_interface: no
command_line_interface_bin_name: '-'
coveralls: yes
coveralls_token: '[Required for Appveyor, take it from https://coveralls.io/github/ionelmc/python-manhole]'
distribution_name: manhole
email: [email protected]
full_name: Ionel Cristian Mărieș
github_username: ionelmc
landscape: no
legacy_python: yes
license: BSD 2-Clause License
linter: flake8
package_name: manhole
pre_commit: yes
project_name: manhole
project_short_description: Manhole is in-process service that will accept unix domain socket connections and present the
release_date: '2015-09-03'
pypi_badge: yes
pypi_disable_upload: no
release_date: '2019-01-19'
repo_hosting: github.com
repo_hosting_domain: github.com
repo_name: python-manhole
repo_username: ionelmc
requiresio: yes
scrutinizer: no
setup_py_uses_setuptools_scm: no
setup_py_uses_test_runner: no
sphinx_docs: yes
sphinx_docs_hosting: https://python-manhole.readthedocs.io/
sphinx_doctest: no
sphinx_theme: sphinx-py3doc-enhanced-theme
test_matrix_configurator: no
test_matrix_separate_coverage: yes
test_runner: pytest
travis: yes
version: 1.3.0
travis_osx: yes
version: 1.6.0
website: http://blog.ionelmc.ro
year_from: '2012'
year_to: '2019'
year_to: '2021'
11 changes: 9 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# see http://editorconfig.org
# 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
insert_final_newline = true
indent_style = space
insert_final_newline = true
indent_size = 4
charset = utf-8

[*.{bat,cmd,ps1}]
end_of_line = crlf

[*.{yml,yaml}]
indent_size = 2

[*.tsv]
indent_style = tab
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ lib
lib64
venv*/
pyvenv*/
pip-wheel-metadata/

# Installer logs
pip-log.txt
Expand All @@ -38,11 +39,14 @@ htmlcov
# Translations
*.mo

# Mr Developer
# Buildout
.mr.developer.cfg

# IDE project files
.project
.pydevproject
.idea
.vscode
*.iml
*.komodoproject

Expand All @@ -61,6 +65,7 @@ docs/_build
.env
.cache
.pytest
.benchmarks
.bootstrap
.appveyor.token
*.bak
Expand Down
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To install the git pre-commit hook run:
# pre-commit install
# To update the pre-commit hooks run:
# pre-commit install-hooks
exclude: '^(\.tox|ci/templates|\.bumpversion\.cfg)(/|$)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: master
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
- repo: https://github.com/timothycrosley/isort
rev: master
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: master
hooks:
- id: flake8
10 changes: 10 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
sphinx:
configuration: docs/conf.py
formats: all
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
Loading