open-feishu 0.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. open_feishu-0.0.0/.codespell-whitelist.txt +2 -0
  2. open_feishu-0.0.0/.github/merge_rules.yaml +7 -0
  3. open_feishu-0.0.0/.github/workflows/push.yaml +136 -0
  4. open_feishu-0.0.0/.gitignore +444 -0
  5. open_feishu-0.0.0/.pre-commit-config.yaml +73 -0
  6. open_feishu-0.0.0/LICENSE +661 -0
  7. open_feishu-0.0.0/LICENSE.header +16 -0
  8. open_feishu-0.0.0/PKG-INFO +694 -0
  9. open_feishu-0.0.0/README.md +0 -0
  10. open_feishu-0.0.0/docs/docs/CNAME +1 -0
  11. open_feishu-0.0.0/docs/docs/about/license.en.md +660 -0
  12. open_feishu-0.0.0/docs/docs/about/license.md +239 -0
  13. open_feishu-0.0.0/docs/docs/about/privacy.en.md +395 -0
  14. open_feishu-0.0.0/docs/docs/about/privacy.md +395 -0
  15. open_feishu-0.0.0/docs/docs/api/auth/app_access_token.md +1 -0
  16. open_feishu-0.0.0/docs/docs/api/auth/tenant_access_token.md +1 -0
  17. open_feishu-0.0.0/docs/docs/api/encrypt.md +1 -0
  18. open_feishu-0.0.0/docs/docs/api/exceptions.md +1 -0
  19. open_feishu-0.0.0/docs/docs/api/im/messages.md +1 -0
  20. open_feishu-0.0.0/docs/docs/api/request.md +1 -0
  21. open_feishu-0.0.0/docs/docs/index.en.md +10 -0
  22. open_feishu-0.0.0/docs/docs/index.md +10 -0
  23. open_feishu-0.0.0/docs/mkdocs.yml +186 -0
  24. open_feishu-0.0.0/docs/overrides/assets/css/extra.css +5 -0
  25. open_feishu-0.0.0/docs/overrides/assets/css/fonts.css +24 -0
  26. open_feishu-0.0.0/docs/overrides/assets/fonts/CascadiaCodePL.woff2 +0 -0
  27. open_feishu-0.0.0/docs/overrides/assets/fonts/HYQiHei.ttf +0 -0
  28. open_feishu-0.0.0/docs/overrides/assets/fonts/HelveticaNowDisplay.otf +0 -0
  29. open_feishu-0.0.0/docs/overrides/assets/fonts/HelveticaWorld.ttf +0 -0
  30. open_feishu-0.0.0/docs/overrides/assets/images/favicon.ico +0 -0
  31. open_feishu-0.0.0/docs/overrides/assets/images/logo.png +0 -0
  32. open_feishu-0.0.0/docs/overrides/javascripts/mathjax.js +16 -0
  33. open_feishu-0.0.0/docs/overrides/javascripts/shortcuts.js +6 -0
  34. open_feishu-0.0.0/docs/overrides/main.html +75 -0
  35. open_feishu-0.0.0/docs/requirements.txt +13 -0
  36. open_feishu-0.0.0/feishu/__init__.py +15 -0
  37. open_feishu-0.0.0/feishu/_version.py +16 -0
  38. open_feishu-0.0.0/feishu/api/__init__.py +44 -0
  39. open_feishu-0.0.0/feishu/api/auth/__init__.py +32 -0
  40. open_feishu-0.0.0/feishu/api/auth/app_access_token.py +184 -0
  41. open_feishu-0.0.0/feishu/api/auth/tenant_access_token.py +174 -0
  42. open_feishu-0.0.0/feishu/api/decorators.py +94 -0
  43. open_feishu-0.0.0/feishu/api/encrypt.py +67 -0
  44. open_feishu-0.0.0/feishu/api/exceptions.py +35 -0
  45. open_feishu-0.0.0/feishu/api/im/__init__.py +19 -0
  46. open_feishu-0.0.0/feishu/api/im/messages.py +362 -0
  47. open_feishu-0.0.0/feishu/api/im/messages.pyi +144 -0
  48. open_feishu-0.0.0/feishu/api/im/utils.py +61 -0
  49. open_feishu-0.0.0/feishu/api/request.py +470 -0
  50. open_feishu-0.0.0/feishu/api/variables.py +25 -0
  51. open_feishu-0.0.0/licensing.sh +9 -0
  52. open_feishu-0.0.0/open_feishu.egg-info/PKG-INFO +694 -0
  53. open_feishu-0.0.0/open_feishu.egg-info/SOURCES.txt +57 -0
  54. open_feishu-0.0.0/open_feishu.egg-info/dependency_links.txt +1 -0
  55. open_feishu-0.0.0/open_feishu.egg-info/requires.txt +4 -0
  56. open_feishu-0.0.0/open_feishu.egg-info/top_level.txt +1 -0
  57. open_feishu-0.0.0/pyproject.toml +114 -0
  58. open_feishu-0.0.0/setup.cfg +4 -0
  59. open_feishu-0.0.0/tox.ini +8 -0
@@ -0,0 +1,2 @@
1
+ ser
2
+ marz
@@ -0,0 +1,7 @@
1
+ - name: merge
2
+ patterns:
3
+ - feishu/**
4
+ approved_by:
5
+ - ZhiyuanChen
6
+ mandatory_checks_name:
7
+ - push
@@ -0,0 +1,136 @@
1
+ name: push
2
+ on: [push, pull_request]
3
+ jobs:
4
+ lint:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v3
8
+ - uses: actions/setup-python@v4
9
+ with:
10
+ python-version: 3.x
11
+ cache: "pip"
12
+ - uses: pre-commit/action@v3.0.0
13
+ test:
14
+ runs-on: ubuntu-latest
15
+ environment: test
16
+ strategy:
17
+ matrix:
18
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - uses: actions/setup-python@v4
22
+ with:
23
+ python-version: ${{ matrix.python-version }}
24
+ cache: "pip"
25
+ - name: Install dependencies for testing
26
+ run: pip install pytest pytest-cov
27
+ - name: Install module
28
+ run: pip install -e .
29
+ - name: pytest
30
+ run: pytest -m "not lfs" --cov=materialx --cov-report=xml --cov-report=html .
31
+ - name: Upload coverage report for documentation
32
+ uses: actions/upload-artifact@v3
33
+ with:
34
+ name: coverage
35
+ path: htmlcov
36
+ retention-days: 5
37
+ - name: Upload coverage reports to Codecov
38
+ uses: codecov/codecov-action@v3
39
+ with:
40
+ token: ${{ secrets.CODECOV_TOKEN }}
41
+ - name: Upload coverage reports to Codacy
42
+ uses: codacy/codacy-coverage-reporter-action@v1
43
+ with:
44
+ project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
45
+ coverage-reports: coverage.xml
46
+ pages:
47
+ if: startsWith(github.event.ref, 'refs/tags/v') || contains(fromJson('["refs/heads/master", "refs/heads/main"]'), github.ref)
48
+ needs: [test]
49
+ environment: github-pages
50
+ runs-on: ubuntu-latest
51
+ permissions:
52
+ contents: write
53
+ concurrency:
54
+ group: ${{ github.workflow }}-${{ github.ref }}
55
+ steps:
56
+ - uses: actions/checkout@v3
57
+ with:
58
+ fetch-depth: 0
59
+ - uses: actions/setup-python@v4
60
+ with:
61
+ python-version: 3.x
62
+ - name: Get pip cache dir
63
+ id: pip-cache
64
+ run: echo "::set-output name=dir::$(pip cache dir)"
65
+ - uses: actions/cache@v3
66
+ with:
67
+ key: ${{ github.ref }}
68
+ path: .cache
69
+ - run: pip install -r docs/requirements.txt
70
+ - run: pip install -e .
71
+ - name: Download coverage report
72
+ uses: actions/download-artifact@v3
73
+ with:
74
+ name: coverage
75
+ path: htmlcov
76
+ - run: mkdocs build -v -f docs/mkdocs.yml
77
+ - name: Deploy
78
+ uses: peaceiris/actions-gh-pages@v3
79
+ if: ${{ github.ref == 'refs/heads/master' }}
80
+ with:
81
+ github_token: ${{ secrets.GITHUB_TOKEN }}
82
+ publish_dir: ./docs/site
83
+ release:
84
+ if: startsWith(github.event.ref, 'refs/tags/v')
85
+ needs: [lint, test]
86
+ permissions:
87
+ contents: write
88
+ id-token: write
89
+ runs-on: ubuntu-latest
90
+ environment: pypi
91
+ steps:
92
+ - uses: actions/checkout@v3
93
+ - uses: actions/setup-python@v4
94
+ with:
95
+ python-version: 3.x
96
+ cache: "pip"
97
+ - name: Install dependencies for building
98
+ run: pip install wheel setuptools_scm
99
+ - name: build package
100
+ run: python setup.py sdist bdist_wheel
101
+ - name: create release
102
+ uses: "marvinpinto/action-automatic-releases@latest"
103
+ with:
104
+ repo_token: "${{ secrets.GITHUB_TOKEN }}"
105
+ prerelease: false
106
+ files: |
107
+ dist/*
108
+ - name: publish to PyPI
109
+ uses: pypa/gh-action-pypi-publish@release/v1
110
+ develop:
111
+ if: contains(fromJson('["refs/heads/master", "refs/heads/main"]'), github.ref)
112
+ needs: [lint, test]
113
+ permissions:
114
+ contents: write
115
+ runs-on: ubuntu-latest
116
+ steps:
117
+ - uses: actions/checkout@v3
118
+ with:
119
+ fetch-depth: 0
120
+ - uses: actions/setup-python@v4
121
+ with:
122
+ python-version: 3.x
123
+ cache: "pip"
124
+ - name: Install dependencies for building
125
+ run: pip install wheel setuptools_scm
126
+ - name: build package
127
+ run: python setup.py sdist bdist_wheel
128
+ - name: create release
129
+ uses: "marvinpinto/action-automatic-releases@latest"
130
+ with:
131
+ repo_token: "${{ secrets.GITHUB_TOKEN }}"
132
+ automatic_release_tag: "latest"
133
+ prerelease: true
134
+ title: "Development Build"
135
+ files: |
136
+ dist/*
@@ -0,0 +1,444 @@
1
+ ## Ignore Visual Studio temporary files, build results, and
2
+ ## files generated by popular Visual Studio add-ons.
3
+ ##
4
+ ## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
5
+
6
+ # User-specific files
7
+ *.rsuser
8
+ *.suo
9
+ *.user
10
+ *.userosscache
11
+ *.sln.docstates
12
+
13
+ # User-specific files (MonoDevelop/Xamarin Studio)
14
+ *.userprefs
15
+
16
+ # Mono auto generated files
17
+ mono_crash.*
18
+
19
+ # Build results
20
+ [Dd]ebug/
21
+ [Dd]ebugPublic/
22
+ [Rr]elease/
23
+ [Rr]eleases/
24
+ x64/
25
+ x86/
26
+ [Ww][Ii][Nn]32/
27
+ [Aa][Rr][Mm]/
28
+ [Aa][Rr][Mm]64/
29
+ bld/
30
+ [Bb]in/
31
+ [Oo]bj/
32
+ [Ll]og/
33
+ [Ll]ogs/
34
+
35
+ # Visual Studio Code cache/options directory
36
+ .vscode/
37
+
38
+ # Visual Studio 2015/2017 cache/options directory
39
+ .vs/
40
+ # Uncomment if you have tasks that create the project's static files in wwwroot
41
+ #wwwroot/
42
+
43
+ # Visual Studio 2017 auto generated files
44
+ Generated\ Files/
45
+
46
+ # MSTest test Results
47
+ [Tt]est[Rr]esult*/
48
+ [Bb]uild[Ll]og.*
49
+
50
+ # NUnit
51
+ *.VisualState.xml
52
+ TestResult.xml
53
+ nunit-*.xml
54
+
55
+ # Build Results of an ATL Project
56
+ [Dd]ebugPS/
57
+ [Rr]eleasePS/
58
+ dlldata.c
59
+
60
+ # Benchmark Results
61
+ BenchmarkDotNet.Artifacts/
62
+
63
+ # .NET Core
64
+ project.lock.json
65
+ project.fragment.lock.json
66
+ artifacts/
67
+
68
+ # ASP.NET Scaffolding
69
+ ScaffoldingReadMe.txt
70
+
71
+ # StyleCop
72
+ StyleCopReport.xml
73
+
74
+ # Files built by Visual Studio
75
+ *_i.c
76
+ *_p.c
77
+ *_h.h
78
+ *.ilk
79
+ *.meta
80
+ *.obj
81
+ *.iobj
82
+ *.pch
83
+ *.pdb
84
+ *.ipdb
85
+ *.pgc
86
+ *.pgd
87
+ *.rsp
88
+ *.sbr
89
+ *.tlb
90
+ *.tli
91
+ *.tlh
92
+ *.tmp
93
+ *.tmp_proj
94
+ *_wpftmp.csproj
95
+ *.log
96
+ *.tlog
97
+ *.vspscc
98
+ *.vssscc
99
+ .builds
100
+ *.pidb
101
+ *.svclog
102
+ *.scc
103
+
104
+ # Chutzpah Test files
105
+ _Chutzpah*
106
+
107
+ # Visual C++ cache files
108
+ ipch/
109
+ *.aps
110
+ *.ncb
111
+ *.opendb
112
+ *.opensdf
113
+ *.sdf
114
+ *.cachefile
115
+ *.VC.db
116
+ *.VC.VC.opendb
117
+
118
+ # Visual Studio profiler
119
+ *.psess
120
+ *.vsp
121
+ *.vspx
122
+ *.sap
123
+
124
+ # Visual Studio Trace Files
125
+ *.e2e
126
+
127
+ # TFS 2012 Local Workspace
128
+ $tf/
129
+
130
+ # Guidance Automation Toolkit
131
+ *.gpState
132
+
133
+ # ReSharper is a .NET coding add-in
134
+ _ReSharper*/
135
+ *.[Rr]e[Ss]harper
136
+ *.DotSettings.user
137
+
138
+ # TeamCity is a build add-in
139
+ _TeamCity*
140
+
141
+ # DotCover is a Code Coverage Tool
142
+ *.dotCover
143
+
144
+ # AxoCover is a Code Coverage Tool
145
+ .axoCover/*
146
+ !.axoCover/settings.json
147
+
148
+ # Coverlet is a free, cross platform Code Coverage Tool
149
+ coverage*.json
150
+ coverage*.xml
151
+ coverage*.info
152
+
153
+ # Visual Studio code coverage results
154
+ *.coverage
155
+ *.coveragexml
156
+
157
+ # NCrunch
158
+ _NCrunch_*
159
+ .*crunch*.local.xml
160
+ nCrunchTemp_*
161
+
162
+ # MightyMoose
163
+ *.mm.*
164
+ AutoTest.Net/
165
+
166
+ # Web workbench (sass)
167
+ .sass-cache/
168
+
169
+ # Installshield output folder
170
+ [Ee]xpress/
171
+
172
+ # DocProject is a documentation generator add-in
173
+ DocProject/buildhelp/
174
+ DocProject/Help/*.HxT
175
+ DocProject/Help/*.HxC
176
+ DocProject/Help/*.hhc
177
+ DocProject/Help/*.hhk
178
+ DocProject/Help/*.hhp
179
+ DocProject/Help/Html2
180
+ DocProject/Help/html
181
+
182
+ # Click-Once directory
183
+ publish/
184
+
185
+ # Publish Web Output
186
+ *.[Pp]ublish.xml
187
+ *.azurePubxml
188
+ # Note: Comment the next line if you want to checkin your web deploy settings,
189
+ # but database connection strings (with potential passwords) will be unencrypted
190
+ *.pubxml
191
+ *.publishproj
192
+
193
+ # Microsoft Azure Web App publish settings. Comment the next line if you want to
194
+ # checkin your Azure Web App publish settings, but sensitive information contained
195
+ # in these scripts will be unencrypted
196
+ PublishScripts/
197
+
198
+ # NuGet Packages
199
+ *.nupkg
200
+ # NuGet Symbol Packages
201
+ *.snupkg
202
+ # The packages folder can be ignored because of Package Restore
203
+ **/[Pp]ackages/*
204
+ # except build/, which is used as an MSBuild target.
205
+ !**/[Pp]ackages/build/
206
+ # Uncomment if necessary however generally it will be regenerated when needed
207
+ #!**/[Pp]ackages/repositories.config
208
+ # NuGet v3's project.json files produces more ignorable files
209
+ *.nuget.props
210
+ *.nuget.targets
211
+
212
+ # Microsoft Azure Build Output
213
+ csx/
214
+ *.build.csdef
215
+
216
+ # Microsoft Azure Emulator
217
+ ecf/
218
+ rcf/
219
+
220
+ # Windows Store app package directories and files
221
+ AppPackages/
222
+ BundleArtifacts/
223
+ Package.StoreAssociation.xml
224
+ _pkginfo.txt
225
+ *.appx
226
+ *.appxbundle
227
+ *.appxupload
228
+
229
+ # Visual Studio cache files
230
+ # files ending in .cache can be ignored
231
+ *.[Cc]ache
232
+ # but keep track of directories ending in .cache
233
+ !?*.[Cc]ache/
234
+
235
+ # Others
236
+ ClientBin/
237
+ ~$*
238
+ *~
239
+ *.dbmdl
240
+ *.dbproj.schemaview
241
+ *.jfm
242
+ *.pfx
243
+ *.publishsettings
244
+ orleans.codegen.cs
245
+
246
+ # Including strong name files can present a security risk
247
+ # (https://github.com/github/gitignore/pull/2483#issue-259490424)
248
+ #*.snk
249
+
250
+ # Since there are multiple workflows, uncomment next line to ignore bower_components
251
+ # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
252
+ #bower_components/
253
+
254
+ # RIA/Silverlight projects
255
+ Generated_Code/
256
+
257
+ # Backup & report files from converting an old project file
258
+ # to a newer Visual Studio version. Backup files are not needed,
259
+ # because we have git ;-)
260
+ _UpgradeReport_Files/
261
+ Backup*/
262
+ UpgradeLog*.XML
263
+ UpgradeLog*.htm
264
+ ServiceFabricBackup/
265
+ *.rptproj.bak
266
+
267
+ # SQL Server files
268
+ *.mdf
269
+ *.ldf
270
+ *.ndf
271
+
272
+ # Business Intelligence projects
273
+ *.rdl.data
274
+ *.bim.layout
275
+ *.bim_*.settings
276
+ *.rptproj.rsuser
277
+ *- [Bb]ackup.rdl
278
+ *- [Bb]ackup ([0-9]).rdl
279
+ *- [Bb]ackup ([0-9][0-9]).rdl
280
+
281
+ # Microsoft Fakes
282
+ FakesAssemblies/
283
+
284
+ # GhostDoc plugin setting file
285
+ *.GhostDoc.xml
286
+
287
+ # Node.js Tools for Visual Studio
288
+ .ntvs_analysis.dat
289
+ node_modules/
290
+
291
+ # Visual Studio 6 build log
292
+ *.plg
293
+
294
+ # Visual Studio 6 workspace options file
295
+ *.opt
296
+
297
+ # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
298
+ *.vbw
299
+
300
+ # Visual Studio 6 auto-generated project file (contains which files were open etc.)
301
+ *.vbp
302
+
303
+ # Visual Studio 6 workspace and project file (working project files containing files to include in project)
304
+ *.dsw
305
+ *.dsp
306
+
307
+ # Visual Studio 6 technical files
308
+ *.ncb
309
+ *.aps
310
+
311
+ # Visual Studio LightSwitch build output
312
+ **/*.HTMLClient/GeneratedArtifacts
313
+ **/*.DesktopClient/GeneratedArtifacts
314
+ **/*.DesktopClient/ModelManifest.xml
315
+ **/*.Server/GeneratedArtifacts
316
+ **/*.Server/ModelManifest.xml
317
+ _Pvt_Extensions
318
+
319
+ # Paket dependency manager
320
+ .paket/paket.exe
321
+ paket-files/
322
+
323
+ # FAKE - F# Make
324
+ .fake/
325
+
326
+ # CodeRush personal settings
327
+ .cr/personal
328
+
329
+ # Python Tools for Visual Studio (PTVS)
330
+ __pycache__/
331
+ *.pyc
332
+
333
+ # Cake - Uncomment if you are using it
334
+ # tools/**
335
+ # !tools/packages.config
336
+
337
+ # Tabs Studio
338
+ *.tss
339
+
340
+ # Telerik's JustMock configuration file
341
+ *.jmconfig
342
+
343
+ # BizTalk build output
344
+ *.btp.cs
345
+ *.btm.cs
346
+ *.odx.cs
347
+ *.xsd.cs
348
+
349
+ # OpenCover UI analysis results
350
+ OpenCover/
351
+
352
+ # Azure Stream Analytics local run output
353
+ ASALocalRun/
354
+
355
+ # MSBuild Binary and Structured Log
356
+ *.binlog
357
+
358
+ # NVidia Nsight GPU debugger configuration file
359
+ *.nvuser
360
+
361
+ # MFractors (Xamarin productivity tool) working folder
362
+ .mfractor/
363
+
364
+ # Local History for Visual Studio
365
+ .localhistory/
366
+
367
+ # Visual Studio History (VSHistory) files
368
+ .vshistory/
369
+
370
+ # BeatPulse healthcheck temp database
371
+ healthchecksdb
372
+
373
+ # Backup folder for Package Reference Convert tool in Visual Studio 2017
374
+ MigrationBackup/
375
+
376
+ # Ionide (cross platform F# VS Code tools) working folder
377
+ .ionide/
378
+
379
+ # Fody - auto-generated XML schema
380
+ FodyWeavers.xsd
381
+
382
+ # VS Code files for those working on multiple tools
383
+ .vscode/*
384
+ !.vscode/settings.json
385
+ !.vscode/tasks.json
386
+ !.vscode/launch.json
387
+ !.vscode/extensions.json
388
+ *.code-workspace
389
+
390
+ # Local History for Visual Studio Code
391
+ .history/
392
+
393
+ # Windows Installer files from build outputs
394
+ *.cab
395
+ *.msi
396
+ *.msix
397
+ *.msm
398
+ *.msp
399
+
400
+ # JetBrains Rider
401
+ *.sln.iml
402
+
403
+ # version
404
+ **/_version.py
405
+
406
+ # Python Egg
407
+ *.egg-info/
408
+
409
+ # Tar
410
+ **/*.tar
411
+ **/*.tgz
412
+ **/*.txz
413
+ **/*.gz
414
+ **/*.xz
415
+
416
+ # Pickle
417
+ **/*.pickle
418
+ **/*.pkl
419
+
420
+ # Checkpoints
421
+ **/*.onnx
422
+ **/*.ckpt
423
+ **/*.safetensors
424
+ **/*.pth
425
+ **/*.pt
426
+ **/*.bin
427
+ **/*.msgpack
428
+ **/*.h5
429
+ **/*.ot
430
+
431
+ # Data
432
+ **/*.np
433
+ **/*.npy
434
+ **/*.npz
435
+ **/*.numpy
436
+ **/*.pd
437
+ **/*.pandas
438
+
439
+ # debug files
440
+ **/*debug*
441
+
442
+ # python build
443
+ **/build/
444
+ **/dist/
@@ -0,0 +1,73 @@
1
+ default_language_version:
2
+ python: python3
3
+ repos:
4
+ - repo: https://github.com/PSF/black
5
+ rev: 24.3.0
6
+ hooks:
7
+ - id: black
8
+ args: [--safe, --quiet]
9
+ - repo: https://github.com/PyCQA/isort
10
+ rev: 5.13.2
11
+ hooks:
12
+ - id: isort
13
+ name: isort
14
+ - repo: https://github.com/PyCQA/flake8
15
+ rev: 7.0.0
16
+ hooks:
17
+ - id: flake8
18
+ additional_dependencies:
19
+ - flake8-bugbear
20
+ - flake8-comprehensions
21
+ - flake8-simplify
22
+ - repo: https://github.com/asottile/pyupgrade
23
+ rev: v3.15.2
24
+ hooks:
25
+ - id: pyupgrade
26
+ args: [--keep-runtime-typing]
27
+ - repo: https://github.com/tox-dev/pyproject-fmt
28
+ rev: 1.7.0
29
+ hooks:
30
+ - id: pyproject-fmt
31
+ - repo: https://github.com/pre-commit/mirrors-mypy
32
+ rev: v1.9.0
33
+ hooks:
34
+ - id: mypy
35
+ additional_dependencies:
36
+ - types-requests
37
+ - repo: https://github.com/codespell-project/codespell
38
+ rev: v2.2.6
39
+ hooks:
40
+ - id: codespell
41
+ args: [--ignore-words=.codespell-whitelist.txt]
42
+ - repo: https://github.com/pre-commit/mirrors-prettier
43
+ rev: v4.0.0-alpha.8
44
+ hooks:
45
+ - id: prettier
46
+ - repo: https://github.com/pre-commit/pre-commit-hooks
47
+ rev: v4.5.0
48
+ hooks:
49
+ - id: check-added-large-files
50
+ - id: check-ast
51
+ - id: check-byte-order-marker
52
+ - id: check-builtin-literals
53
+ - id: check-case-conflict
54
+ - id: check-docstring-first
55
+ - id: check-merge-conflict
56
+ - id: check-vcs-permalinks
57
+ - id: check-symlinks
58
+ - id: pretty-format-json
59
+ - id: check-json
60
+ - id: check-xml
61
+ - id: check-toml
62
+ - id: check-yaml
63
+ files: "feishu"
64
+ - id: debug-statements
65
+ - id: end-of-file-fixer
66
+ files: "feishu"
67
+ - id: fix-byte-order-marker
68
+ - id: fix-encoding-pragma
69
+ args: ["--remove"]
70
+ - id: mixed-line-ending
71
+ args: ["--fix=lf"]
72
+ - id: requirements-txt-fixer
73
+ - id: trailing-whitespace