replace pyfilesystem2 with fsspec #46
26 new issues (0 max.) of at least severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 26
Complexity increasing per file
==============================
- pyfatfs/FATDirectoryEntry.py 101
- pyfatfs/FatIO.py 39
- pyfatfs/PyFat.py 139
- tests/test_PyFatFS.py 23
- pyfatfs/PyFatFS.py 74
- pyfatfs/PyFatFSOpener.py 4
- tests/test_PyFatFSOpener.py 14
- pyfatfs/permissions.py 65
- pyfatfs/time.py 5
- pyfatfs/_typing.py 1
- pyfatfs/errors.py 29
- tests/fs_test_cases.py 122
- pyfatfs/info.py 46
- pyfatfs/mode.py 42
- pyfatfs/path.py 55
Clones added
============
- tests/fs_test_cases.py 10
See the complete overview on Codacy
Annotations
Check warning on line 15 in pyfatfs/PyFatFS.py
codacy-production / Codacy Static Code Analysis
pyfatfs/PyFatFS.py#L15
Unused Permissions imported from pyfatfs.permissions
Check warning on line 11 in pyfatfs/_typing.py
codacy-production / Codacy Static Code Analysis
pyfatfs/_typing.py#L11
Unused overload imported from typing
Check warning on line 15 in pyfatfs/_typing.py
codacy-production / Codacy Static Code Analysis
pyfatfs/_typing.py#L15
function already defined line 11
Check warning on line 20 in pyfatfs/_typing.py
codacy-production / Codacy Static Code Analysis
pyfatfs/_typing.py#L20
Unused Text imported from typing
Check notice on line 225 in pyfatfs/info.py
codacy-production / Codacy Static Code Analysis
pyfatfs/info.py#L225
Unused variable 'basename'
Check warning on line 70 in pyfatfs/mode.py
codacy-production / Codacy Static Code Analysis
pyfatfs/mode.py#L70
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 591 in pyfatfs/path.py
codacy-production / Codacy Static Code Analysis
pyfatfs/path.py#L591
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 12 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L12
Unused import json
Check warning on line 20 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L20
Unused datetime imported from datetime
Check warning on line 23 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L23
Unused split imported from pyfatfs.path
Check warning on line 47 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L47
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 81 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L81
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check notice on line 99 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L99
Unused variable 'dirs'
Check notice on line 375 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L375
Unnecessary pass statement
Check warning on line 438 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L438
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 451 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L451
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 452 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L452
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 1351 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L1351
Use of insecure and deprecated function (mktemp).
Check warning on line 1351 in tests/fs_test_cases.py
codacy-production / Codacy Static Code Analysis
tests/fs_test_cases.py#L1351
Use of insecure and deprecated function (mktemp). (B306)
Check warning on line 141 in tests/test_PyFatFS.py
codacy-production / Codacy Static Code Analysis
tests/test_PyFatFS.py#L141
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 181 in tests/test_PyFatFS.py
codacy-production / Codacy Static Code Analysis
tests/test_PyFatFS.py#L181
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 190 in tests/test_PyFatFS.py
codacy-production / Codacy Static Code Analysis
tests/test_PyFatFS.py#L190
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 284 in tests/test_PyFatFS.py
codacy-production / Codacy Static Code Analysis
tests/test_PyFatFS.py#L284
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 286 in tests/test_PyFatFS.py
codacy-production / Codacy Static Code Analysis
tests/test_PyFatFS.py#L286
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)
Check warning on line 287 in tests/test_PyFatFS.py
codacy-production / Codacy Static Code Analysis
tests/test_PyFatFS.py#L287
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. (B101)