-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add min_pyver_end_position
option
#5386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,15 @@ You can also use ``# +n: [`` with n an integer if the above syntax would make th | |
|
||
If you need special control over Pylint's configuration, you can also create a .rc file, which | ||
can have sections of Pylint's configuration. | ||
The .rc file can also contain a section ``[testoptions]`` to pass options for the functional | ||
test runner. The following options are currently supported: | ||
|
||
"min_pyver": Minimal python version required to run the test | ||
"max_pyver": Maximum python version required to run the test | ||
Comment on lines
+78
to
+79
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't completely true. Whereas I.e. an alpha release would be IMO that is the desired behavior as otherwise one would need to say something like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks @cdce8p for reviewing even after we already merged, much appreciated! I'll create a PR that updates the doc. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cdce8p Any good ideas about how to describe this. I have been trying for 5 minutes but can't come up with a simple but correct sentence 😆 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See #5411 |
||
"min_pyver_end_position": Minimal python version required to check the end_line and end_column attributes of the message | ||
"requires": Packages required to be installed locally to run the test | ||
"except_implementations": List of python implementations on which the test should not run | ||
"exclude_platforms": List of operating systems on which the test should not run | ||
|
||
During development, it's sometimes helpful to run all functional tests in your | ||
current environment in order to have faster feedback. Run from Pylint root directory with:: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 This is very useful ! I wish I had that when starting out.