Skip to content

Commit

Permalink
Minor typos and formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
borntyping committed Dec 14, 2018
1 parent 955c0df commit 83f33e1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Sam Clements <[email protected]>
Copyright (c) 2018 Sam Clements <[email protected]>

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
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]).

Expand Down Expand Up @@ -130,9 +130,7 @@ logging.config.dictConfig({
'()': 'colorlog.ColoredFormatter',
'format': "%(log_color)s%(levelname)-8s%(reset)s %(blue)s%(message)s"
}
},

...
}
})
```

Expand Down
2 changes: 1 addition & 1 deletion colorlog/escape_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions colorlog/tests/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

0 comments on commit 83f33e1

Please sign in to comment.