Skip to content

Commit f0ed805

Browse files
Merge pull request #52 from source-foundry/dev
v1.0.0
2 parents d083246 + 6e4c219 commit f0ed805

File tree

7 files changed

+82
-41
lines changed

7 files changed

+82
-41
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ tests/profiler.py
7070

7171
#pytype files
7272
.pytype
73+
74+
.venv

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,14 @@ matrix:
2626
install: pip install --upgrade tox pytest
2727
dist: xenial
2828
script: tox -e $TOX_ENV
29+
- python: 3.8
30+
env: TOX_ENV=py38
31+
install: pip install --upgrade tox pytest
32+
dist: xenial
33+
script: tox -e $TOX_ENV
2934
- os: osx
3035
language: generic
31-
osx_image: xcode11 # Python 3.7.4 running on macOS 10.14.4
36+
osx_image: xcode11 # Python 3.7.4 running on macOS 10.14.4
3237
install: pip3 install --upgrade tox pytest
3338
env: TOX_ENV=py37
3439
script: tox -e $TOX_ENV
@@ -45,4 +50,4 @@ branches:
4550
- /^v\d+\.\d+.*$/
4651

4752
notifications:
48-
email: false
53+
email: false

CHANGELOG.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
## Changelog
22

3+
### v1.0.0
4+
5+
- v1 release
6+
- broadened pinning of Python dependency versions
7+
- updated build dependencies to current release versions
8+
- test against pinned dependency versions in tox CI testing
9+
310
### v0.4.1
411

512
- package wheel for Python 3 only
@@ -24,13 +31,13 @@
2431

2532
### v0.3.5
2633

27-
- improved error messages on *.glif file test failures
34+
- improved error messages on \*.glif file test failures
2835
- added CONTRIBUTORS.md documentation
2936
- modified copyright in license and in-application help to "Source Foundry Authors"
3037

3138
### v0.3.4
3239

33-
- force install of ufoLib dependency at version >= 2.2.0. This is release where optional validation support introduced and code in this project was modified to support the changes in ufoLib
40+
- force install of ufoLib dependency at version >= 2.2.0. This is release where optional validation support introduced and code in this project was modified to support the changes in ufoLib
3441

3542
### v0.3.3
3643

@@ -69,5 +76,3 @@
6976
### v0.2.0
7077

7178
- initial release version
72-
73-

appveyor.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
environment:
22
matrix:
3-
- JOB: "3.6 32-bit"
4-
PYTHON_HOME: "C:\\Python36"
3+
- JOB: "3.8 32-bit"
4+
PYTHON_HOME: "C:\\Python38"
5+
TOX_PY: py38
6+
7+
- JOB: "3.6 64-bit"
8+
PYTHON_HOME: "C:\\Python36-x64"
59
TOX_PY: py36
610

711
- JOB: "3.7 64-bit"
812
PYTHON_HOME: "C:\\Python37-x64"
913
TOX_PY: py37
1014

15+
- JOB: "3.8 64-bit"
16+
PYTHON_HOME: "C:\\Python38-x64"
17+
TOX_PY: py38
18+
1119
install:
1220
# Prepend Python to the PATH of this build
1321
- "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
1422

1523
# check that we have the expected version and architecture for Python
1624
- "python --version"
17-
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
25+
- 'python -c "import struct; print(struct.calcsize(''P'') * 8)"'
1826

1927
# upgrade pip and setuptools to avoid out-of-date warnings
2028
- "python -m pip install --disable-pip-version-check --user --upgrade pip setuptools virtualenv"
@@ -25,4 +33,4 @@ install:
2533
build: false
2634

2735
test_script:
28-
- "tox -e %TOX_PY%"
36+
- "tox -e %TOX_PY%"

lib/ufolint/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# ------------------------------------------------------------------------------
55
# Version Number
66
# ------------------------------------------------------------------------------
7-
major_version = "0"
8-
minor_version = "4"
9-
patch_version = "1"
7+
major_version = "1"
8+
minor_version = "0"
9+
patch_version = "0"
1010

1111
# ------------------------------------------------------------------------------
1212
# Help String

requirements.txt

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
fontTools[ufo]==4.6.0
2-
commandlines
1+
#
2+
# This file is autogenerated by pip-compile
3+
# To update, run:
4+
#
5+
# pip-compile
6+
#
7+
appdirs==1.4.3 # via fs
8+
commandlines==0.4.1 # via ufolint (setup.py)
9+
fonttools[ufo]==4.6.0 # via ufolint (setup.py)
10+
fs==2.4.11 # via fonttools
11+
pytz==2019.3 # via fs
12+
six==1.14.0 # via fs
13+
14+
# The following packages are considered to be unsafe in a requirements file:
15+
# setuptools

setup.py

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,23 @@
99
# Optional packages
1010
EXTRAS_REQUIRES = {
1111
# for developer installs
12-
"dev": ["wheel", "setuptools", "twine", "coverage", "pytest", "tox", "flake8", "pytype"]
12+
"dev": [
13+
"wheel",
14+
"setuptools",
15+
"twine",
16+
"coverage",
17+
"pytest",
18+
"tox",
19+
"flake8",
20+
"pytype",
21+
]
1322
}
1423

1524

1625
def version_read():
17-
settings_file = open(os.path.join(os.path.dirname(__file__), 'lib', 'ufolint', 'settings.py')).read()
26+
settings_file = open(
27+
os.path.join(os.path.dirname(__file__), "lib", "ufolint", "settings.py")
28+
).read()
1829
major_regex = r"""major_version\s*?=\s*?["']{1}(\d+)["']{1}"""
1930
minor_regex = r"""minor_version\s*?=\s*?["']{1}(\d+)["']{1}"""
2031
patch_regex = r"""patch_version\s*?=\s*?["']{1}(\d+)["']{1}"""
@@ -46,38 +57,35 @@ def version_read():
4657
raise readme_e
4758

4859
setup(
49-
name='ufolint',
60+
name="ufolint",
5061
version=version_read(),
51-
description='UFO source file linter',
62+
description="UFO source file linter",
5263
long_description=readme,
5364
long_description_content_type="text/markdown",
54-
url='https://github.com/source-foundry/ufolint',
55-
license='MIT license',
56-
author='Christopher Simpkins',
57-
author_email='[email protected]',
58-
platforms=['any'],
65+
url="https://github.com/source-foundry/ufolint",
66+
license="MIT license",
67+
author="Christopher Simpkins",
68+
author_email="[email protected]",
69+
platforms=["any"],
5970
packages=find_packages("lib"),
60-
package_dir={'': 'lib'},
61-
install_requires=['commandlines', 'fontTools[ufo]>=3.31.0'],
62-
entry_points={
63-
'console_scripts': [
64-
'ufolint = ufolint.app:main'
65-
],
66-
},
67-
keywords='',
71+
package_dir={"": "lib"},
72+
install_requires=["commandlines", "fontTools[ufo]>=3.31.0"],
73+
entry_points={"console_scripts": ["ufolint = ufolint.app:main"],},
74+
keywords="",
6875
include_package_data=True,
6976
extras_require=EXTRAS_REQUIRES,
7077
python_requires=REQUIRES_PYTHON,
7178
classifiers=[
72-
'Development Status :: 4 - Beta',
73-
'Natural Language :: English',
74-
'License :: OSI Approved :: MIT License',
75-
'Operating System :: OS Independent',
76-
'Programming Language :: Python',
77-
'Programming Language :: Python :: 3',
78-
'Programming Language :: Python :: 3.6',
79-
'Programming Language :: Python :: 3.7',
80-
'Topic :: Software Development :: Libraries :: Python Modules',
79+
"Development Status :: 5 - Production/Stable",
80+
"Natural Language :: English",
81+
"License :: OSI Approved :: MIT License",
82+
"Operating System :: OS Independent",
83+
"Programming Language :: Python",
84+
"Programming Language :: Python :: 3",
85+
"Programming Language :: Python :: 3.6",
86+
"Programming Language :: Python :: 3.7",
87+
"Programming Language :: Python :: 3.8",
88+
"Topic :: Software Development :: Libraries :: Python Modules",
8189
"Topic :: Text Processing :: Fonts",
8290
],
8391
)

0 commit comments

Comments
 (0)