Comments (1)
NB: since pytest 6.0.0, the options can also reside in pyproject.toml. Docs
from flake8-pytest-style.
Related Issues (20)
- When I have dictionaries with different insert order in test, PT014 happens HOT 1
- I want a rule that will find tests without assert statements HOT 1
- False positive PT019 with monkey patching and _ in test signature HOT 2
- False positive PT009 for unittest.TestCase.assertRaises HOT 5
- Feature request: automatic fixing per certain rules HOT 5
- Review assertion method names for PT009/PT027
- Research PT009 for Django assertions HOT 1
- When I have pytest.fail() in a test, it is incorrectly detected as a unittest-style assertion HOT 1
- I want a rule that will check use of `argnames` and `argvalues` in `@pytest.mark.parametrize` HOT 1
- I want a rule that will flag Exception in raises() contexts. HOT 2
- I want a rule that will disallow patching `os.environ` with `mock.patch.dict`
- I want a rule that will check pytest.approx parameters
- PT017 violated in non-test code HOT 2
- I want a rule that will check that aren't parenthesis opening characters in tests ids
- I want a rule that will catch `@pytest.mark.django_db()()`
- I want a rule that will detect unused fixture as argument and instruct to use pytest.mark.usefixtures instead
- Rule that suggests explicit `strict=` in `@pytest.mark.xfail` HOT 2
- reverse pytest-mark-no-parenthese and pytest-fixture-no-parentheses HOT 6
- Only enable flake-pytest-style when pytest is in use HOT 1
- [false-positive][PT019] When I have a test with an underscored parameter name, it incorrectly suggests switching to `usefixtures` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flake8-pytest-style.