Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for rule (0.02 seconds)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        def setup() {
            instanceScopedPool.appendSystemPath()
        }
    
        void noViolation(def rule) {
            assert rule.maybeViolation(apiClass) == null
        }
    
        Map getInitializationParams() {
            return [
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
                apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path,
                projectRootDir: testDir.path,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. docs/de/llm-prompt.md

            »»»
    
        Do NOT translate with (German) – notice the hyphen:
    
            «««
            # FastAPI in Containern - Docker { #fastapi-in-containers-docker }
            »»»
    
    3.1) Do not apply rule 3 when there is no space before or no space after the hyphen.
    
    Example:
    
        Source (English):
    
            «««
            ## Type hints and annotations { #type-hints-and-annotations }
            »»»
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. scripts/translate.py

    5) Apply above rules also when there is an existing translation! Make sure that all title attributes in abbr elements get properly translated or updated, using the schemes given above. However, leave the ADDITIONAL abbr's from rule 4 alone. Do not change their formatting or content.
    
    """
    
    app = typer.Typer()
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

    import org.hamcrest.MatcherAssert.assertThat
    import org.hamcrest.Matchers
    import org.intellij.lang.annotations.Language
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    import org.junit.Rule
    import org.junit.rules.TemporaryFolder
    import java.io.File
    import java.nio.file.Files
    
    
    abstract class AbstractBinaryCompatibilityTest {
    
        @get:Rule
        val tmpDir = TemporaryFolder()
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules
    
    import com.google.gson.Gson
    import com.google.gson.stream.JsonWriter
    import gradlebuild.binarycompatibility.AcceptedApiChange
    import gradlebuild.binarycompatibility.AcceptedApiChanges
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

    import gradlebuild.binarycompatibility.rules.KotlinModifiersBreakingChangeRule
    import gradlebuild.binarycompatibility.rules.MethodsRemovedInInternalSuperClassRule
    import gradlebuild.binarycompatibility.rules.NewIncubatingAPIRule
    import gradlebuild.binarycompatibility.rules.NullabilityBreakingChangesRule
    import gradlebuild.binarycompatibility.rules.SinceAnnotationRule
    import gradlebuild.binarycompatibility.rules.SinceAnnotationRuleCurrentGradleVersionSetup
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. tests/test_jsonable_encoder.py

        data = ModelV1(name="test")
        with pytest.raises(PydanticV1NotSupportedError):
            jsonable_encoder(data)
    
    
    def test_encode_model_with_config():
        model = ModelWithConfig(role=RoleEnum.admin)
        assert jsonable_encoder(model) == {"role": "admin"}
    
    
    def test_encode_model_with_alias_raises():
        with pytest.raises(ValidationError):
            ModelWithAlias(foo="Bar")
    
    
    def test_encode_model_with_alias():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules;
    
    import gradlebuild.binarycompatibility.AcceptedApiChanges;
    import gradlebuild.binarycompatibility.AcceptedViolationsProvider;
    import gradlebuild.binarycompatibility.ApiChange;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. fastapi/openapi/models.py

        # Serialization rules for simple scenarios
        style: Optional[str] = None
        explode: Optional[bool] = None
        allowReserved: Optional[bool] = None
        schema_: Optional[Union[Schema, Reference]] = Field(default=None, alias="schema")
        example: Optional[Any] = None
        examples: Optional[dict[str, Union[Example, Reference]]] = None
        # Serialization rules for more complex scenarios
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. docs/en/docs/release-notes.md

    * 👷 Update build-docs GitHub Action path filter. PR [#11354](https://github.com/tiangolo/fastapi/pull/11354) by [@tiangolo](https://github.com/tiangolo).
    * 🔧 Update Ruff config, add extra ignore rule from SQLModel. PR [#11353](https://github.com/tiangolo/fastapi/pull/11353) by [@tiangolo](https://github.com/tiangolo).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
Back to Top