File: setup.cfg

package info (click to toggle)
fsspec 2025.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,176 kB
  • sloc: python: 23,881; makefile: 31; sh: 17
file content (54 lines) | stat: -rw-r--r-- 1,195 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[metadata]
long_description: file: README.rst


[flake8]
exclude = .tox,build,docs/source/conf.py,fsspec/_version
max-line-length = 88
ignore =
    # Assigning lambda expression
    E731
    # Ambiguous variable names
    E741
    # line break before binary operator
    W503
    # whitespace before :
    E203
    # redefs
    F811

[isort]
known_first_party=fsspec
known_third_party=aiohttp,dask,distributed,fuse,libarchive,numpy,panel,paramiko,pygit2,pytest,requests,smbclient,yarl
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
line_length=88
skip=
    .tox
    build
    docs/source/conf.py
    fsspec/_version

[mypy]
follow_imports = normal
ignore_missing_imports = True
enable_error_code = ignore-without-code,truthy-bool,truthy-iterable,unused-awaitable

disallow_untyped_decorators = False
strict_equality = False
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True


# don't bother type-checking test_*.py or conftest.py files
exclude = (test.*|conftest)\.py$

# TODO: turn on globally once we type enough of fsspec
[mypy-fsspec.caching]
check_untyped_defs = True

[mypy-fsspec.utils]
check_untyped_defs = True