<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git/src/flake8/main/cli.py, branch bug/1372</title>
<subtitle>gitlab.com: pycqa/flake8.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/'/>
<entry>
<title>com2ann</title>
<updated>2021-03-31T00:37:13+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2021-03-30T02:48:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=cb36e206a5ed5610a2f94f9893bbfd75036dc0ad'/>
<id>cb36e206a5ed5610a2f94f9893bbfd75036dc0ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>automatic: pyupgrade --py36-plus</title>
<updated>2021-03-31T00:37:13+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2021-03-30T00:43:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=358ae85120b5336f6abf574688b1f7290b3c8cc4'/>
<id>358ae85120b5336f6abf574688b1f7290b3c8cc4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Hoist passing through sys.argv at the CLI layer</title>
<updated>2019-08-29T20:06:02+00:00</updated>
<author>
<name>Eric N. Vander Weele</name>
<email>ericvw@gmail.com</email>
</author>
<published>2019-08-28T20:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=cf4bc53c127d7e6c29f69fcd0a1920d0aa88c023'/>
<id>cf4bc53c127d7e6c29f69fcd0a1920d0aa88c023</id>
<content type='text'>
`flake8.main.cli.main()` is the primary entry point for the command-line
implementation of flake8 (invoked via `__main__` or `console_scripts`).
Therefore, it is reasonable for the entry point to be responsible for
obtaining command line arguments from `sys.argv` there.

Note that `sys.argv[1:]` is necessary in order to strip off the script
name.  Formerly, this was not needed in
`Application.parse_preliminary_options_and_args()`, which was using
`sys.argv[:]` because the result of the argument parsing was just for
determining additional configuration to be loaded.  Then, the *real* CLI
argument parsing was forwarding the original `None` value to
`argparse.ArgumentParser.parse_args()`, which internally was obtaining
arguments as `sys.argv[1:]`.

Additionally, the contract for various argument parsing methods to be
guaranteed a `List[str]`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`flake8.main.cli.main()` is the primary entry point for the command-line
implementation of flake8 (invoked via `__main__` or `console_scripts`).
Therefore, it is reasonable for the entry point to be responsible for
obtaining command line arguments from `sys.argv` there.

Note that `sys.argv[1:]` is necessary in order to strip off the script
name.  Formerly, this was not needed in
`Application.parse_preliminary_options_and_args()`, which was using
`sys.argv[:]` because the result of the argument parsing was just for
determining additional configuration to be loaded.  Then, the *real* CLI
argument parsing was forwarding the original `None` value to
`argparse.ArgumentParser.parse_args()`, which internally was obtaining
arguments as `sys.argv[1:]`.

Additionally, the contract for various argument parsing methods to be
guaranteed a `List[str]`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove noqa comments now that 3.7 has been released</title>
<updated>2019-02-01T04:12:23+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2019-02-01T04:12:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=3d5475123645fc327b02d622be5e270d1f960534'/>
<id>3d5475123645fc327b02d622be5e270d1f960534</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some lint / mypy fixes</title>
<updated>2019-01-24T10:15:25+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2019-01-24T10:14:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=3127d213f6dcc23e6f638d3e5c8cb9c10cac763a'/>
<id>3127d213f6dcc23e6f638d3e5c8cb9c10cac763a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix docstring violations</title>
<updated>2017-05-13T01:34:15+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2017-05-13T01:34:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=32f4b65b6b4bb913e8f5201fc0a718878bfec7df'/>
<id>32f4b65b6b4bb913e8f5201fc0a718878bfec7df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move flake8 into src</title>
<updated>2016-06-25T15:12:13+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2016-06-25T15:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=1a2c68f5da8ae95b8a156ef6f6a772bf82cf0f88'/>
<id>1a2c68f5da8ae95b8a156ef6f6a772bf82cf0f88</id>
<content type='text'>
This is an emerging best practice and there is little reason to not
follow it
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an emerging best practice and there is little reason to not
follow it
</pre>
</div>
</content>
</entry>
</feed>
