From 83f33e1539208a928a3951a4f63e292c69508639 Mon Sep 17 00:00:00 2001 From: Sam Clements Date: Fri, 14 Dec 2018 16:18:00 +0000 Subject: [PATCH] Minor typos and formatting fixes --- LICENSE | 2 +- README.md | 6 ++---- colorlog/escape_codes.py | 2 +- colorlog/tests/test_exports.py | 4 ++-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/LICENSE b/LICENSE index 3c11e88..e85c707 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 Sam Clements +Copyright (c) 2018 Sam Clements Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/README.md b/README.md index b7511ef..4714b2a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Install from PyPI with: pip install colorlog ``` -Several Linux distributions provide offical packages ([Debian], [Gentoo], +Several Linux distributions provide official packages ([Debian], [Gentoo], [OpenSuse] and [Ubuntu]), and others have user provided packages ([Arch AUR], [BSD ports], [Conda], [Fedora packaging scripts]). @@ -130,9 +130,7 @@ logging.config.dictConfig({ '()': 'colorlog.ColoredFormatter', 'format': "%(log_color)s%(levelname)-8s%(reset)s %(blue)s%(message)s" } - }, - - ... + } }) ``` diff --git a/colorlog/escape_codes.py b/colorlog/escape_codes.py index 949395d..74c5071 100644 --- a/colorlog/escape_codes.py +++ b/colorlog/escape_codes.py @@ -3,7 +3,7 @@ http://en.wikipedia.org/wiki/ANSI_escape_code -Uses colorama as an optional dependancy to support color on Windows +Uses colorama as an optional dependency to support color on Windows """ try: diff --git a/colorlog/tests/test_exports.py b/colorlog/tests/test_exports.py index 955395b..490ffbe 100644 --- a/colorlog/tests/test_exports.py +++ b/colorlog/tests/test_exports.py @@ -4,8 +4,8 @@ def test_exports(): - assert set(( + assert { 'ColoredFormatter', 'default_log_colors', 'escape_codes', 'basicConfig', 'root', 'getLogger', 'debug', 'info', 'warning', 'error', 'exception', 'critical', 'log', 'exception' - )) < set(globals()) + } < set(globals())