Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 117dfdd

Browse files
committed
Update project skel (include py 3.9 in CI).
1 parent 1584695 commit 117dfdd

File tree

15 files changed

+130
-34
lines changed

15 files changed

+130
-34
lines changed

‎.appveyor.yml‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version: '{branch}-{build}'
22
build: off
3+
image: Visual Studio 2019
34
environment:
45
global:
56
COVERALLS_EXTRAS: '-v'
@@ -234,6 +235,50 @@ environment:
234235
PYTHON_VERSION: '3.8'
235236
PYTHON_ARCH: '64'
236237
WHEEL_PATH: .tox/dist
238+
- TOXENV: py39-cover,codecov,coveralls
239+
TOXPYTHON: C:\Python39\python.exe
240+
PYTHON_HOME: C:\Python39
241+
PYTHON_VERSION: '3.9'
242+
PYTHON_ARCH: '32'
243+
- TOXENV: py39-cover,codecov,coveralls
244+
TOXPYTHON: C:\Python39-x64\python.exe
245+
PYTHON_HOME: C:\Python39-x64
246+
PYTHON_VERSION: '3.9'
247+
PYTHON_ARCH: '64'
248+
- TOXENV: py39-cover-debug,codecov,coveralls
249+
TOXPYTHON: C:\Python39\python.exe
250+
PYTHON_HOME: C:\Python39
251+
PYTHON_VERSION: '3.9'
252+
PYTHON_ARCH: '32'
253+
- TOXENV: py39-cover-debug,codecov,coveralls
254+
TOXPYTHON: C:\Python39-x64\python.exe
255+
PYTHON_HOME: C:\Python39-x64
256+
PYTHON_VERSION: '3.9'
257+
PYTHON_ARCH: '64'
258+
- TOXENV: py39-nocov,codecov,coveralls
259+
TOXPYTHON: C:\Python39\python.exe
260+
PYTHON_HOME: C:\Python39
261+
PYTHON_VERSION: '3.9'
262+
PYTHON_ARCH: '32'
263+
WHEEL_PATH: .tox/dist
264+
- TOXENV: py39-nocov,codecov,coveralls
265+
TOXPYTHON: C:\Python39-x64\python.exe
266+
PYTHON_HOME: C:\Python39-x64
267+
PYTHON_VERSION: '3.9'
268+
PYTHON_ARCH: '64'
269+
WHEEL_PATH: .tox/dist
270+
- TOXENV: py39-nocov-debug,codecov,coveralls
271+
TOXPYTHON: C:\Python39\python.exe
272+
PYTHON_HOME: C:\Python39
273+
PYTHON_VERSION: '3.9'
274+
PYTHON_ARCH: '32'
275+
WHEEL_PATH: .tox/dist
276+
- TOXENV: py39-nocov-debug,codecov,coveralls
277+
TOXPYTHON: C:\Python39-x64\python.exe
278+
PYTHON_HOME: C:\Python39-x64
279+
PYTHON_VERSION: '3.9'
280+
PYTHON_ARCH: '64'
281+
WHEEL_PATH: .tox/dist
237282
init:
238283
- ps: echo $env:TOXENV
239284
- ps: ls C:\Python*

‎.cookiecutterrc‎

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

3-
cookiecutter:
4-
_extensions:
5-
- jinja2_time.TimeExtension
6-
_template: /home/ionel/open-source/cookiecutter-pylibrary
3+
default_context:
74
allow_tests_inside_package: no
85
appveyor: yes
96
c_extension_function: '-'
@@ -32,7 +29,7 @@ cookiecutter:
3229
project_short_description: '``aspectlib`` is an aspect-oriented programming, monkey-patch and decorators library. It is useful when changing'
3330
pypi_badge: yes
3431
pypi_disable_upload: no
35-
release_date: '2016年05月10日'
32+
release_date: '2020年06月11日'
3633
repo_hosting: github.com
3734
repo_hosting_domain: github.com
3835
repo_name: python-aspectlib
@@ -50,7 +47,7 @@ cookiecutter:
5047
test_runner: pytest
5148
travis: yes
5249
travis_osx: no
53-
version: 1.4.2
50+
version: 1.5.1
5451
website: http://blog.ionelmc.ro
5552
year_from: '2014'
5653
year_to: '2020'

‎.editorconfig‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
root = true
33

44
[*]
5+
# Use Unix-style newlines for most files (except Windows files, see below).
56
end_of_line = lf
67
trim_trailing_whitespace = true
7-
insert_final_newline = true
88
indent_style = space
9+
insert_final_newline = true
910
indent_size = 4
1011
charset = utf-8
1112

@@ -14,3 +15,6 @@ end_of_line = crlf
1415

1516
[*.{yml,yaml}]
1617
indent_size = 2
18+
19+
[*.tsv]
20+
indent_style = tab

‎.gitignore‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,14 @@ htmlcov
3939
# Translations
4040
*.mo
4141

42-
# Mr Developer
42+
# Buildout
4343
.mr.developer.cfg
44+
45+
# IDE project files
4446
.project
4547
.pydevproject
4648
.idea
49+
.vscode
4750
*.iml
4851
*.komodoproject
4952

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
# pre-commit install
33
# To update the pre-commit hooks run:
44
# pre-commit install-hooks
5-
exclude: '^(.tox|ci/templates|.bumpversion.cfg)(/|$)'
5+
exclude: '^(\.tox|ci/templates|\.bumpversion\.cfg)(/|$)'
66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
88
rev: master
99
hooks:
1010
- id: trailing-whitespace
1111
- id: end-of-file-fixer
12+
- id: debug-statements
1213
- repo: https://github.com/timothycrosley/isort
1314
rev: master
1415
hooks:

‎.travis.yml‎

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
language: python
22
dist: xenial
3+
virt: lxd
34
cache: false
45
env:
56
global:
67
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
78
- SEGFAULT_SIGNALS=all
9+
- LANG=en_US.UTF-8
810
matrix:
911
include:
1012
- python: '3.6'
@@ -73,6 +75,18 @@ matrix:
7375
- env:
7476
- TOXENV=py38-nocov-debug
7577
python: '3.8'
78+
- env:
79+
- TOXENV=py39-cover,codecov,coveralls
80+
python: '3.9'
81+
- env:
82+
- TOXENV=py39-cover-debug,codecov,coveralls
83+
python: '3.9'
84+
- env:
85+
- TOXENV=py39-nocov
86+
python: '3.9'
87+
- env:
88+
- TOXENV=py39-nocov-debug
89+
python: '3.9'
7690
- env:
7791
- TOXENV=pypy-cover,codecov,coveralls
7892
python: 'pypy'
@@ -87,19 +101,15 @@ matrix:
87101
python: 'pypy'
88102
- env:
89103
- TOXENV=pypy3-cover,codecov,coveralls
90-
- TOXPYTHON=pypy3
91104
python: 'pypy3'
92105
- env:
93106
- TOXENV=pypy3-cover-debug,codecov,coveralls
94-
- TOXPYTHON=pypy3
95107
python: 'pypy3'
96108
- env:
97109
- TOXENV=pypy3-nocov
98-
- TOXPYTHON=pypy3
99110
python: 'pypy3'
100111
- env:
101112
- TOXENV=pypy3-nocov-debug
102-
- TOXPYTHON=pypy3
103113
python: 'pypy3'
104114
before_install:
105115
- python --version
@@ -114,8 +124,8 @@ install:
114124
script:
115125
- tox -v
116126
after_failure:
117-
- more .tox/log/* | cat
118-
- more .tox/*/log/* | cat
127+
- cat .tox/log/*
128+
- cat .tox/*/log/*
119129
notifications:
120130
email:
121131
on_success: never

‎CONTRIBUTING.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To set up `python-aspectlib` for local development:
4141
(look for the "Fork" button).
4242
2. Clone your fork locally::
4343

44-
git clone git@github.com:ionelmc/python-aspectlib.git
44+
git clone git@github.com:YOURGITHUBNAME/python-aspectlib.git
4545

4646
3. Create a branch for local development::
4747

@@ -85,6 +85,6 @@ To run a subset of tests::
8585

8686
tox -e envname -- pytest -k test_myfeature
8787

88-
To run all the test environments in *parallel* (you need to ``pip install detox``)::
88+
To run all the test environments in *parallel*::
8989

90-
detox
90+
tox -p auto

‎ci/requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
virtualenv>=16.6.0
22
pip>=19.1.1
33
setuptools>=18.0.1
4-
six>=1.12.0
4+
six>=1.14.0

‎ci/templates/.appveyor.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version: '{branch}-{build}'
22
build: off
3+
image: Visual Studio 2019
34
environment:
45
global:
56
COVERALLS_EXTRAS: '-v'

‎ci/templates/.travis.yml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
language: python
22
dist: xenial
3+
virt: lxd
34
cache: false
45
env:
56
global:
67
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
78
- SEGFAULT_SIGNALS=all
9+
- LANG=en_US.UTF-8
810
matrix:
911
include:
1012
- python: '3.6'
@@ -17,13 +19,12 @@ matrix:
1719
- env:
1820
- TOXENV={{ env }}{% if config.cover %},codecov,coveralls{% endif %}
1921
{%- if env.startswith('pypy3') %}{{ '' }}
20-
- TOXPYTHON=pypy3
2122
python: 'pypy3'
2223
{%- elif env.startswith('pypy') %}{{ '' }}
2324
python: 'pypy'
2425
{%- else %}{{ '' }}
2526
python: '{{ '{0[2]}.{0[3]}'.format(env) }}'
26-
{%- endif %}
27+
{%- endif %}{{ '' }}
2728
{%- endfor %}{{ '' }}
2829
before_install:
2930
- python --version
@@ -38,8 +39,8 @@ install:
3839
script:
3940
- tox -v
4041
after_failure:
41-
- more .tox/log/* | cat
42-
- more .tox/*/log/* | cat
42+
- cat .tox/log/*
43+
- cat .tox/*/log/*
4344
notifications:
4445
email:
4546
on_success: never

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /