Skip to content

Commit 3385426

Browse files
committed
Skel and cython update.
1 parent 13ca384 commit 3385426

11 files changed

Lines changed: 1554 additions & 1003 deletions

File tree

.cookiecutterrc

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,56 @@
11
# Generated by cookiepatcher, a small shim around cookiecutter (pip install cookiepatcher)
22

33
default_context:
4-
allow_tests_inside_package: no
5-
appveyor: no
4+
allow_tests_inside_package: 'no'
5+
appveyor: 'no'
66
c_extension_function: '-'
77
c_extension_module: '-'
8-
c_extension_optional: yes
8+
c_extension_optional: 'yes'
99
c_extension_support: cython
10-
c_extension_test_pypi: yes
10+
c_extension_test_pypi: 'yes'
1111
c_extension_test_pypi_username: ionel
12-
codacy: no
12+
codacy: 'no'
1313
codacy_projectid: '-'
14-
codeclimate: no
15-
codecov: yes
14+
codeclimate: 'no'
15+
codecov: 'yes'
1616
command_line_interface: argparse
1717
command_line_interface_bin_name: hunter-trace
18-
coveralls: no
18+
coveralls: 'no'
1919
distribution_name: hunter
2020
email: contact@ionelmc.ro
2121
full_name: Ionel Cristian Mărieș
22-
github_actions: yes
23-
legacy_python: no
22+
github_actions: 'yes'
23+
github_actions_osx: 'yes'
24+
github_actions_windows: 'yes'
25+
legacy_python: 'no'
2426
license: BSD 2-Clause License
2527
linter: flake8
2628
package_name: hunter
27-
pre_commit: yes
29+
pre_commit: 'yes'
30+
pre_commit_formatter: black
2831
project_name: Hunter
2932
project_short_description: Hunter is a flexible code tracing toolkit, not for measuring coverage, but for debugging, logging, inspection and other nefarious purposes. It has a simple Python API and a convenient terminal API (see `Environment variable activation <env-var-activation_>`_).
30-
pypi_badge: yes
31-
pypi_disable_upload: no
32-
release_date: '2021-12-14'
33+
pypi_badge: 'yes'
34+
pypi_disable_upload: 'no'
35+
release_date: '2021-12-15'
3336
repo_hosting: github.com
3437
repo_hosting_domain: github.com
3538
repo_main_branch: master
3639
repo_name: python-hunter
3740
repo_username: ionelmc
38-
requiresio: yes
39-
scrutinizer: no
40-
setup_py_uses_setuptools_scm: yes
41-
setup_py_uses_test_runner: no
42-
sphinx_docs: yes
41+
requiresio: 'yes'
42+
scrutinizer: 'no'
43+
setup_py_uses_pytest_runner: 'no'
44+
setup_py_uses_setuptools_scm: 'yes'
45+
sphinx_docs: 'yes'
4346
sphinx_docs_hosting: https://python-hunter.readthedocs.io/
44-
sphinx_doctest: no
47+
sphinx_doctest: 'no'
4548
sphinx_theme: sphinx-py3doc-enhanced-theme
46-
test_matrix_configurator: no
47-
test_matrix_separate_coverage: yes
48-
test_runner: pytest
49-
travis: no
50-
travis_osx: no
51-
version: 3.4.1
49+
test_matrix_configurator: 'no'
50+
test_matrix_separate_coverage: 'yes'
51+
travis: 'no'
52+
travis_osx: 'no'
53+
version: 3.4.3
5254
version_manager: bump2version
5355
website: https://blog.ionelmc.ro
5456
year_from: '2015'

.github/workflows/github-actions.yml

Lines changed: 1 addition & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -19,134 +19,6 @@ jobs:
1919
toxpython: 'python3.9'
2020
tox_env: 'docs'
2121
os: 'ubuntu-latest'
22-
- name: 'py36-pure-cover (ubuntu/x86_64)'
23-
python: '3.6'
24-
toxpython: 'python3.6'
25-
python_arch: 'x64'
26-
tox_env: 'py36-pure-cover,codecov'
27-
cibw_arch: 'x86_64'
28-
cibw_build: false
29-
os: 'ubuntu-latest'
30-
- name: 'py36-pure-cover (windows/AMD64)'
31-
python: '3.6'
32-
toxpython: 'python3.6'
33-
python_arch: 'x64'
34-
tox_env: 'py36-pure-cover,codecov'
35-
cibw_arch: 'AMD64'
36-
cibw_build: false
37-
os: 'windows-latest'
38-
- name: 'py36-pure-cover (macos/x86_64)'
39-
python: '3.6'
40-
toxpython: 'python3.6'
41-
python_arch: 'x64'
42-
tox_env: 'py36-pure-cover,codecov'
43-
cibw_arch: 'x86_64'
44-
cibw_build: false
45-
os: 'macos-latest'
46-
- name: 'py36-pure-nocov (ubuntu/x86_64)'
47-
python: '3.6'
48-
toxpython: 'python3.6'
49-
python_arch: 'x64'
50-
tox_env: 'py36-pure-nocov'
51-
cibw_arch: 'x86_64'
52-
cibw_build: false
53-
os: 'ubuntu-latest'
54-
- name: 'py36-pure-nocov (windows/AMD64)'
55-
python: '3.6'
56-
toxpython: 'python3.6'
57-
python_arch: 'x64'
58-
tox_env: 'py36-pure-nocov'
59-
cibw_arch: 'AMD64'
60-
cibw_build: false
61-
os: 'windows-latest'
62-
- name: 'py36-pure-nocov (macos/x86_64)'
63-
python: '3.6'
64-
toxpython: 'python3.6'
65-
python_arch: 'x64'
66-
tox_env: 'py36-pure-nocov'
67-
cibw_arch: 'x86_64'
68-
cibw_build: false
69-
os: 'macos-latest'
70-
- name: 'py36-cython-cover (ubuntu/x86_64)'
71-
python: '3.6'
72-
toxpython: 'python3.6'
73-
python_arch: 'x64'
74-
tox_env: 'py36-cython-cover,codecov'
75-
cibw_arch: 'x86_64'
76-
cibw_build: false
77-
os: 'ubuntu-latest'
78-
- name: 'py36-cython-cover (windows/AMD64)'
79-
python: '3.6'
80-
toxpython: 'python3.6'
81-
python_arch: 'x64'
82-
tox_env: 'py36-cython-cover,codecov'
83-
cibw_arch: 'AMD64'
84-
cibw_build: false
85-
os: 'windows-latest'
86-
- name: 'py36-cython-cover (macos/x86_64)'
87-
python: '3.6'
88-
toxpython: 'python3.6'
89-
python_arch: 'x64'
90-
tox_env: 'py36-cython-cover,codecov'
91-
cibw_arch: 'x86_64'
92-
cibw_build: false
93-
os: 'macos-latest'
94-
- name: 'py36-cython-nocov (ubuntu/x86_64/manylinux)'
95-
python: '3.6'
96-
toxpython: 'python3.6'
97-
python_arch: 'x64'
98-
tox_env: 'py36-cython-nocov'
99-
cibw_arch: 'x86_64'
100-
cibw_build: 'cp36-*manylinux*'
101-
os: 'ubuntu-latest'
102-
- name: 'py36-cython-nocov (ubuntu/x86_64/musllinux)'
103-
python: '3.6'
104-
toxpython: 'python3.6'
105-
python_arch: 'x64'
106-
tox_env: 'py36-cython-nocov'
107-
cibw_arch: 'x86_64'
108-
cibw_build: 'cp36-*musllinux*'
109-
os: 'ubuntu-latest'
110-
- name: 'py36-cython-nocov (ubuntu/aarch64/manylinux)'
111-
python: '3.6'
112-
toxpython: 'python3.6'
113-
python_arch: 'x64'
114-
tox_env: 'py36-cython-nocov'
115-
cibw_arch: 'aarch64'
116-
cibw_build: 'cp36-*manylinux*'
117-
os: 'ubuntu-latest'
118-
- name: 'py36-cython-nocov (ubuntu/aarch64/musllinux)'
119-
python: '3.6'
120-
toxpython: 'python3.6'
121-
python_arch: 'x64'
122-
tox_env: 'py36-cython-nocov'
123-
cibw_arch: 'aarch64'
124-
cibw_build: 'cp36-*musllinux*'
125-
os: 'ubuntu-latest'
126-
- name: 'py36-cython-nocov (windows/AMD64)'
127-
python: '3.6'
128-
toxpython: 'python3.6'
129-
python_arch: 'x64'
130-
tox_env: 'py36-cython-nocov'
131-
cibw_arch: 'AMD64'
132-
cibw_build: 'cp36-*'
133-
os: 'windows-latest'
134-
- name: 'py36-cython-nocov (windows/x86)'
135-
python: '3.6'
136-
toxpython: 'python3.6'
137-
python_arch: 'x86'
138-
tox_env: 'py36-cython-nocov'
139-
cibw_arch: 'x86'
140-
cibw_build: 'cp36-*'
141-
os: 'windows-latest'
142-
- name: 'py36-cython-nocov (macos/x86_64)'
143-
python: '3.6'
144-
toxpython: 'python3.6'
145-
python_arch: 'x64'
146-
tox_env: 'py36-cython-nocov'
147-
cibw_arch: 'x86_64'
148-
cibw_build: 'cp36-*'
149-
os: 'macos-latest'
15022
- name: 'py37-pure-cover (ubuntu/x86_64)'
15123
python: '3.7'
15224
toxpython: 'python3.7'
@@ -865,7 +737,7 @@ jobs:
865737
architecture: ${{ matrix.python_arch }}
866738
- name: install dependencies
867739
run: |
868-
python -mpip install --progress-bar=off twine tox cibuildwheel -r ci/requirements.txt
740+
python -mpip install --progress-bar=off cibuildwheel -r ci/requirements.txt
869741
virtualenv --version
870742
pip --version
871743
tox --version

ci/bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main():
5959
loader=jinja2.FileSystemLoader(templates_path),
6060
trim_blocks=True,
6161
lstrip_blocks=True,
62-
keep_trailing_newline=True
62+
keep_trailing_newline=True,
6363
)
6464

6565
tox_environments = [

pytest.ini

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[pytest]
2+
# If a pytest section is found in one of the possible config files
3+
# (pytest.ini, tox.ini or setup.cfg), then pytest will not look for any others,
4+
# so if you add a pytest config section elsewhere,
5+
# you will need to delete this section from setup.cfg.
6+
norecursedirs =
7+
.git
8+
.tox
9+
.env
10+
dist
11+
build
12+
migrations
13+
14+
python_files =
15+
test_*.py
16+
*_test.py
17+
tests.py
18+
addopts =
19+
-ra
20+
--strict-markers
21+
--ignore=docs/conf.py
22+
--ignore=setup.py
23+
--ignore=ci
24+
--ignore=.eggs
25+
--doctest-modules
26+
--doctest-glob=\*.rst
27+
--tb=short
28+
testpaths =
29+
tests
30+
31+
# Idea from: https://til.simonwillison.net/pytest/treat-warnings-as-errors
32+
filterwarnings =
33+
error
34+
# You can add exclusions, some examples:
35+
# ignore:'hunter' defines default_app_config:PendingDeprecationWarning::
36+
# ignore:The {{% if:::
37+
# ignore:Coverage disabled via --no-cov switch!

setup.cfg

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22
max-line-length = 140
33
exclude = .tox,.eggs,ci/templates,build,dist,tests,src/hunter/vendor
44

5-
[tool:pytest]
6-
testpaths =
7-
tests
8-
addopts =
9-
-ra
10-
--strict-markers
11-
--tb=short
12-
135
[tool:isort]
146
force_single_line = True
157
line_length = 120

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def has_ext_modules(self):
139139
'Operating System :: Microsoft :: Windows',
140140
'Programming Language :: Python',
141141
'Programming Language :: Python :: 3',
142-
'Programming Language :: Python :: 3.6',
142+
'Programming Language :: Python :: 3 :: Only',
143143
'Programming Language :: Python :: 3.7',
144144
'Programming Language :: Python :: 3.8',
145145
'Programming Language :: Python :: 3.9',
@@ -157,7 +157,7 @@ def has_ext_modules(self):
157157
keywords=[
158158
'trace', 'tracer', 'settrace', 'debugger', 'debugging', 'code', 'source'
159159
],
160-
python_requires='>=3.6',
160+
python_requires='>=3.7',
161161
install_requires=[
162162
],
163163
extras_require={

0 commit comments

Comments
 (0)