Skip to content
Snippets Groups Projects
  • Ville Skyttä's avatar
    ee696643
    Isort preparations (#16555) · ee696643
    Ville Skyttä authored
    * Don't treat typing as an "in-between" module for import order
    
    That was a < 3.5 era thing.
    
    * Tighten scope of some pylint unused-import disables
    
    To avoid isort moving a top level one around, undesirably broadening its
    scope.
    ee696643
    History
    Isort preparations (#16555)
    Ville Skyttä authored
    * Don't treat typing as an "in-between" module for import order
    
    That was a < 3.5 era thing.
    
    * Tighten scope of some pylint unused-import disables
    
    To avoid isort moving a top level one around, undesirably broadening its
    scope.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
setup.cfg 1.12 KiB
[metadata]
license      = Apache License 2.0
license_file = LICENSE.md
platforms    = any
description  = Open-source home automation platform running on Python 3.
long_description = file: README.rst
keywords     = home, automation
classifier =
    Development Status :: 4 - Beta
    Intended Audience :: End Users/Desktop
    Intended Audience :: Developers
    License :: OSI Approved :: Apache Software License
    Operating System :: OS Independent
    Programming Language :: Python :: 3.5
    Programming Language :: Python :: 3.6
    Topic :: Home Automation

[tool:pytest]
testpaths = tests
norecursedirs = .git testing_config

[flake8]
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build

[isort]
# https://github.com/timothycrosley/isort
# https://github.com/timothycrosley/isort/wiki/isort-Settings
# splits long import on multiple lines indented by 4 spaces
multi_line_output = 4
indent = "    "
# by default isort don't check module indexes
not_skip = __init__.py
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
sections = FUTURE,STDLIB,INBETWEENS,THIRDPARTY,FIRSTPARTY,LOCALFOLDER