Skip to content

Commit 7a62408

Browse files
Initial structure
0 parents  commit 7a62408

8 files changed

+440
-0
lines changed

.flake8

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[flake8]
2+
max-line-length = 88
3+
select = C,E,F,W,B,B950,T,Q,M,B950,A
4+
# Temporarily ignore T000 messages
5+
ignore = E501,W503,E203,T000
6+
inline-quotes = double
7+
multiline-quotes = double
8+
docstring-quotes = double

.gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
build
2+
dist
3+
.DS_Store
4+
__pycache__
5+
htmlcov
6+
.coverage
7+
workenv
8+
.mypy_cache
9+
10+
syntax: glob
11+
*.so
12+
*.egg-info
13+
*.dSYM
14+
*.pyc
15+
*.pyo
16+
*.orig
17+
*.swp

.isort.cfg

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[settings]
2+
multi_line_output=3
3+
include_trailing_comma=True
4+
force_grid_wrap=0
5+
use_parentheses=True
6+
line_length=88

.pre-commit-config.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 19.3b0
4+
hooks:
5+
- id: black
6+
language_version: python3.7
7+
# override until resolved: https://github.com/ambv/black/issues/402
8+
files: \.pyi?$
9+
types: []
10+
11+
- repo: https://gitlab.com/pycqa/flake8
12+
rev: 3.7.8
13+
hooks:
14+
- id: flake8
15+
language_version: python3.7
16+
additional_dependencies:
17+
- flake8-bugbear
18+
- flake8-deprecated
19+
- flake8-comprehensions
20+
- flake8-isort
21+
- flake8-quotes
22+
- flake8-mutable
23+
- flake8-todo
24+
- flake8-builtins
25+
26+
- repo: https://github.com/pre-commit/mirrors-isort
27+
rev: v4.3.21
28+
hooks:
29+
- id: isort
30+
additional_dependencies: [toml]
31+
language_version: python3.7
32+
33+
- repo: https://github.com/pre-commit/pre-commit-hooks
34+
rev: v2.3.0
35+
hooks:
36+
- id: trailing-whitespace
37+
- id: end-of-file-fixer
38+
- id: debug-statements

License.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
(This is the MIT license)
2+
3+
Copyright 2020 - Ronald Oussoren
4+
5+
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 the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.rst

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Introduction
2+
------------
3+
4+
Objc_asyncio is an experimental library that implements an
5+
asyncio runloop using the Cocoa CFRunLoop, which makes
6+
it possible to integrate macOS GUIs and asyncio.
7+
8+
The long-term goal for this library is to integrate with the
9+
main PyObjC library (in particular, integrate into pyobjc-core).

objc_asyncio/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"""
2+
Main library
3+
"""

0 commit comments

Comments
 (0)