CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 00:26:57 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/gforcada/flake8-isort.git
etag: W/"72cc5bde9b75bf5e8742e5359c25ac2c"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=maF5zJHpKQffIGSvG3%2FCI9wrtnSInDHKqOzGIQ0Xy5DZmjKmyE8p05r4OQhsik9rxaaEe4NMa5umo4p8Wdos6mLuxpgeA7Twh6mKRyZ1rNaGsj%2Fv%2Bq1jyU0MHriazG0JGw%2B6759qvT2xFFQVpxSyS9fi%2FyzKhbh7phjbisy0zCjlQpVCXbs5ah0Ehm6UsQ%2FQky0D5qw7r4E7J4AgSke%2BmqmfZmTPcqTkDzR8Oo6Wvdtlc8dZGv5upZ4RvUyvLg5ic9jmLQcScykCT6ZyDvfAGA%3D%3D--MVMGOQ8ldBEjsy5G--zYCYHuCXxYTaUAzgw%2BxqNw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1163924037.1753921616; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 00:26:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 00:26:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DB64:3C0FA8:F5392:171552:688AB850
Let isort decide which config to use · gforcada/flake8-isort@701995a · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit 701995a
committed
Let isort decide which config to use
isort will look for a configuration in pyproject.toml
when the TOML library is available.
flake8-isort has its own mechanism to look up an appropriate
configuration file and will pass its path on to isort.
Right now, flake8-isort doesn't consider pyproject.toml files as
configuration file candidates and will raise an error if there's
no other configuration file than the pyproject.toml.
Luckily, there's the parameter `--no-isort-config` to make flake8-isort
not stall when it cannot find a config file.
In this case, isort will not be instructed to look for a specific
configuration file by flake8-isort but instead look for it itself
(beginning from either the currently linted file path
or the current working directory).
This is great because it means that we can rely on isort
to figure out which config to use
and linting behavior between both libraries will be exactly the same.
The search for a configuration file can be removed from flake8-isort
and we get Pyproject.toml support for free.
The `--no-isort-config` option can be removed as well
because from now on it will always be the burden of isort
to figure out which config to use.
Related to #71
Closes #781 parent 313963e commit 701995aCopy full SHA for 701995a
File tree
Expand file treeCollapse file tree
3 files changed
+20
-144
lines changedFilter options
Expand file treeCollapse file tree
3 files changed
+20
-144
lines changed+1-17Lines changed: 1 addition & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 | 27 |
| |
44 | 28 |
| |
45 | 29 |
| |
|
+16-98Lines changed: 16 additions & 98 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 | 4 |
| |
6 | 5 |
| |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 | 6 |
| |
16 | 7 |
| |
17 | 8 |
| |
| |||
32 | 23 |
| |
33 | 24 |
| |
34 | 25 |
| |
35 |
| - | |
36 | 26 |
| |
37 | 27 |
| |
38 | 28 |
| |
| |||
43 | 33 |
| |
44 | 34 |
| |
45 | 35 |
| |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 | 36 |
| |
53 | 37 |
| |
54 | 38 |
| |
| |||
59 | 43 |
| |
60 | 44 |
| |
61 | 45 |
| |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 | 46 |
| |
68 | 47 |
| |
69 | 48 |
| |
70 | 49 |
| |
71 |
| - | |
72 |
| - | |
73 |
| - | |
| 50 | + | |
| 51 | + | |
74 | 52 |
| |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
149 | 67 |
| |
150 | 68 |
| |
151 | 69 |
| |
|
+3-29Lines changed: 3 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
225 | 225 |
| |
226 | 226 |
| |
227 | 227 |
| |
228 |
| - | |
229 |
| - | |
| 228 | + | |
230 | 229 |
| |
231 | 230 |
| |
232 | 231 |
| |
| |||
239 | 238 |
| |
240 | 239 |
| |
241 | 240 |
| |
242 |
| - | |
| 241 | + | |
243 | 242 |
| |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
| 243 | + | |
269 | 244 |
| |
270 | 245 |
| |
271 | 246 |
| |
| |||
294 | 269 |
| |
295 | 270 |
| |
296 | 271 |
| |
297 |
| - | |
298 | 272 |
| |
299 | 273 |
| |
300 | 274 |
| |
|
You can’t perform that action at this time.
0 commit comments